]> git.saurik.com Git - apt.git/blobdiff - methods/gpgv.cc
keep trying with next if connection to a SRV host failed
[apt.git] / methods / gpgv.cc
index dd395d6598c8fb34d3327b0307810e9ac68b7c57..fc6eb91593deab2db2bf3806189f1cc914a581fb 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 
-#include <apt-pkg/acquire-method.h>
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/gpgv.h>
@@ -427,9 +426,5 @@ bool GPGVMethod::URIAcquire(std::string const &Message, FetchItem *Itm)
 
 int main()
 {
-   setlocale(LC_ALL, "");
-
-   GPGVMethod Mth;
-
-   return Mth.Run();
+   return GPGVMethod().Run();
 }