]> git.saurik.com Git - apt.git/commitdiff
- methods/ftp.cc: likewise;
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Oct 2007 12:36:42 +0000 (09:36 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Oct 2007 12:36:42 +0000 (09:36 -0300)
debian/changelog
methods/ftp.cc

index b8e9889b8d99d539c225687c9738833117bb7413..802f6f4d94419535ee8cb9d29d25f193cfb5e4a3 100644 (file)
@@ -64,6 +64,7 @@ apt (0.7.7) UNRELEASED; urgency=low
     - apt-pkg/deb/dpkgpm.cc: initialization order and conversion from
       string constant to 'char*';
     - methods/gpgv.cc: conversion from string constant to 'char*';
+    - methods/ftp.cc: likewise;
 
   [ Ian Jackson ]
   * dpkg-triggers: Deal properly with new package states.
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";