diff options
Diffstat (limited to 'methods/mirror.cc')
-rw-r--r-- | methods/mirror.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc index 01eed09f0..9d900771b 100644 --- a/methods/mirror.cc +++ b/methods/mirror.cc @@ -12,7 +12,6 @@ #include <apt-pkg/aptconfiguration.h> #include <apt-pkg/fileutl.h> -#include <apt-pkg/acquire-method.h> #include <apt-pkg/acquire-item.h> #include <apt-pkg/acquire.h> #include <apt-pkg/error.h> @@ -465,11 +464,7 @@ void MirrorMethod::URIDone(FetchResult &Res,FetchResult *Alt) int main() { - setlocale(LC_ALL, ""); - - MirrorMethod Mth; - - return Mth.Loop(); + return MirrorMethod().Loop(); } |