X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/25ff0797da5bc59ad4c322c7f1ea25664be8a461..8d1cb6da6e21302c654da3f09de3975af7e4a11f:/methods/rsh.cc?ds=inline 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 #include #include -#include #include #include @@ -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(); }