summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:36:42 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:36:42 -0300
commitb856433668b3ffeab82ae2712f2e672a5dca1396 (patch)
tree2ca24a7501f7063d3ea30eebc7fe55c05fa27699 /methods/ftp.cc
parent31c64df39bad4c709a2fd5ca6a336f4b652a8613 (diff)
- methods/ftp.cc: likewise;
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";