]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.cc
* merged with apt--main and apt--fixes
[apt.git] / methods / ftp.cc
index 8bf8a2ee6d13161685ba468e3109aba571bd3792..f595e0ca4c0c41ae904bce696a1ae644faac12e9 100644 (file)
@@ -1102,7 +1102,7 @@ int main(int argc,const char *argv[])
         
         // Run the http method
         string Path = flNotFile(argv[0]) + "http";
-        execl(Path.c_str(),Path.c_str(),0);
+        execl(Path.c_str(),Path.c_str(),(char *)NULL);
         cerr << _("Unable to invoke ") << Path << endl;
         exit(100);
       }