summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-27 22:11:03 +0000
committerMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-27 22:11:03 +0000
commitb25423f6636a17f61a50ea03ad6bda42125f0323 (patch)
tree58eb307a6a7743dd4e55902646f9c6a1b8d52330 /methods/ftp.cc
parentf09ed20d3c489419d920f9a27149f4da8ca22f36 (diff)
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)