]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.cc
Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid
[apt.git] / methods / ftp.cc
index d55ac1224de05612096522ad575c1a926ef3139c..979adca6273a65dcf92cc4703bf2f65fc6347129 100644 (file)
@@ -436,6 +436,7 @@ bool FTPConn::WriteMsg(unsigned int &Ret,string &Text,const char *Fmt,...)
    char S[400];
    vsnprintf(S,sizeof(S) - 4,Fmt,args);
    strcat(S,"\r\n");
+   va_end(args);
  
    if (Debug == true)
       cerr << "-> '" << QuoteString(S,"") << "'" << endl;