X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1169dbfa1b4551f3cf64de025aa4b0fc02927c64..c0c3f8678d401bd4e8995e1491827520a112525c:/methods/ftp.cc diff --git a/methods/ftp.cc b/methods/ftp.cc index 8bf8a2ee6..f595e0ca4 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -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); }