]> git.saurik.com Git - apt.git/blobdiff - methods/http_main.cc
move permission changing from -item to -worker
[apt.git] / methods / http_main.cc
index d7724701a761017dcf4e7ff2bf500715868c0f41..cd52c42e83407bd22dc217720c0ca66970cbe06a 100644 (file)
@@ -1,5 +1,6 @@
 #include <config.h>
 #include <apt-pkg/fileutl.h>
+#include <apt-pkg/error.h>
 #include <signal.h>
 
 #include "http.h"
@@ -14,6 +15,5 @@ int main()
 
    HttpMethod Mth;
 
-   Mth.DropPrivsOrDie();
    return Mth.Loop();
 }