HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call setlocale in all methods, don't call bindtextdomain in http
[ntk/apt.git]
/
methods
/
ftp.cc
diff --git
a/methods/ftp.cc
b/methods/ftp.cc
index
cf2838e
..
0f22227
100644
(file)
--- 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)