]> git.saurik.com Git - apt.git/blobdiff - methods/http_main.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / methods / http_main.cc
index 78858263266dc3fd1521d5d347bf645ae5ccb735..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"
@@ -12,8 +13,7 @@ int main()
    // closes the connection (this is dealt with via ServerDie())
    signal(SIGPIPE, SIG_IGN);
 
-   DropPrivs();
-
    HttpMethod Mth;
+
    return Mth.Loop();
 }