X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/443f5e8a3205162ec6933529c5ca0c95ad3f6941..5b55915a9beca06c9993285aee9da9f4ac3bccc4:/methods/http_main.cc diff --git a/methods/http_main.cc b/methods/http_main.cc index 2ca91bfc9..f21a5709c 100644 --- a/methods/http_main.cc +++ b/methods/http_main.cc @@ -1,14 +1,10 @@ #include - #include -#include +#include #include -#include "connect.h" -#include "rfc2553emu.h" #include "http.h" - int main() { setlocale(LC_ALL, ""); @@ -18,5 +14,7 @@ int main() signal(SIGPIPE, SIG_IGN); HttpMethod Mth; + + Mth.DropPrivsOrDie(); return Mth.Loop(); }