summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2004-11-28 14:50:25 +0000
committerMichael Vogt <mvo@debian.org>2004-11-28 14:50:25 +0000
commit96b83b826ef733fa4fdfe99dd5009cba5af9a2c4 (patch)
tree58eb307a6a7743dd4e55902646f9c6a1b8d52330 /methods/ftp.cc
parent759ef60bae33fd38079d298287c107ec83821634 (diff)
parentb25423f6636a17f61a50ea03ad6bda42125f0323 (diff)
* imported changes from apt--main
Patches applied: * apt@packages.debian.org/apt--main--0--patch-28 Fix permissions (again) * apt@packages.debian.org/apt--main--0--patch-29 Call setlocale in all methods, don't call bindtextdomain in http
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index cf2838e3f..0f222272d 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -1083,6 +1083,8 @@ bool FtpMethod::Fetch(FetchItem *Itm)
int main(int argc,const char *argv[])
{
+ setlocale(LC_ALL, "");
+
/* See if we should be come the http client - we do this for http
proxy urls */
if (getenv("ftp_proxy") != 0)