From: Otavio Salvador Date: Tue, 2 Oct 2007 12:36:42 +0000 (-0300) Subject: - methods/ftp.cc: likewise; X-Git-Tag: 0.7.21~227^2~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/b856433668b3ffeab82ae2712f2e672a5dca1396 - methods/ftp.cc: likewise; --- diff --git a/debian/changelog b/debian/changelog index b8e9889b8..802f6f4d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. 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";