]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.cc
merged from debian-sid
[apt.git] / methods / ftp.cc
index 0c2aa00a76a599fc5c0dea110862db30b3fd5d08..554a24cf52c52c19a7ca11a23477a61b934d7bc3 100644 (file)
@@ -1101,7 +1101,7 @@ int main(int argc,const char *argv[])
         char S[300];
         snprintf(S,sizeof(S),"http_proxy=%s",getenv("ftp_proxy"));
         putenv(S);
-        putenv("no_proxy=");
+        putenv((char *)"no_proxy=");
         
         // Run the http method
         string Path = flNotFile(argv[0]) + "http";