summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-11-28 16:46:46 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-11-28 16:46:46 +0100
commitac3dee0e5091f19b77de96eec5241cb57c13f2a1 (patch)
tree2a82dd1c7a487f830bc4ec569c9f4e3775ddf4e8 /methods/ftp.cc
parent318dd26ac9bdbb30bcd22201393dc73d8566b3cf (diff)
parent757f20941a19d5e1e9ebd74ecd5a4d5b0012644f (diff)
merge with the debian tree
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 0c2aa00a7..554a24cf5 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -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";