$NetBSD: patch-ai,v 1.4 1999/02/13 09:05:02 rh Exp $ --- src/ftpd.c.orig Mon Jul 6 11:14:25 1998 +++ src/ftpd.c Sat Feb 13 00:50:35 1999 @@ -2930,7 +2930,9 @@ *p = '\0'; /* send a line...(note that this overrides dolreplies!) */ + VA_START(fmt); vreply(USE_REPLY_LONG | USE_REPLY_NOTFMT, n, ptr, ap); + VA_END; /* *NEVER* send a 0 as an ap, some machines use a *struct* for a va_list! */ if (p) ptr = p + 1; /* set to the next line... (\0 is handled in the while) */