From 10063c62824e977f35d7365a28b6bafed34cac1f Mon Sep 17 00:00:00 2001 From: "Jacques A. Vidrine" Date: Fri, 7 Sep 2001 20:28:10 +0000 Subject: [PATCH] If we're going to call va_start again, we should call va_end first. This is a no-op on most platforms, though. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10671 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/ftp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index 9b29ed812..0bd2a9bc4 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -284,6 +284,7 @@ command (char *fmt,...) printf("PASS XXXX"); else vfprintf(stdout, fmt, ap); + va_end(ap); va_start(ap, fmt); } sec_vfprintf(cout, fmt, ap);