diff options
Diffstat (limited to 'methods/rsh.cc')
-rw-r--r-- | methods/rsh.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/methods/rsh.cc b/methods/rsh.cc index 4d133951f..74a908ef7 100644 --- a/methods/rsh.cc +++ b/methods/rsh.cc @@ -17,7 +17,6 @@ #include <apt-pkg/fileutl.h> #include <apt-pkg/hashes.h> #include <apt-pkg/configuration.h> -#include <apt-pkg/acquire-method.h> #include <apt-pkg/strutl.h> #include <stdlib.h> @@ -547,8 +546,5 @@ bool RSHMethod::Fetch(FetchItem *Itm) int main(int, const char *argv[]) { - setlocale(LC_ALL, ""); - - RSHMethod Mth(flNotDir(argv[0])); - return Mth.Run(); + return RSHMethod(flNotDir(argv[0])).Run(); } |