]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
fix: Prefer prefix ++/-- operators for non-primitive types
[apt.git] / methods / https.cc
index a40f377101c7b836d9ac55c1eb59755f92c9fab3..a74d2a38be4ba416ee7f1bfffbc1fdc3e43a9e0a 100644 (file)
@@ -443,11 +443,11 @@ int main()
 {
    setlocale(LC_ALL, "");
 
 {
    setlocale(LC_ALL, "");
 
-   DropPrivs();
-
    HttpsMethod Mth;
    curl_global_init(CURL_GLOBAL_SSL) ;
 
    HttpsMethod Mth;
    curl_global_init(CURL_GLOBAL_SSL) ;
 
+   Mth.DropPrivsOrDie();
+
    return Mth.Run();
 }
 
    return Mth.Run();
 }