]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
fix various -Wall warnings
[apt.git] / methods / https.cc
index e53ba1a115b57f704c94e3ac30a81c01ebf0c80a..98dfeefa10ad638673580f07e985828d9094b11c 100644 (file)
@@ -249,7 +249,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
    if(success != 0) 
    {
       unlink(File->Name().c_str());
-      _error->Error(curl_errorstr);
+      _error->Error("%s", curl_errorstr);
       Fail();
       return true;
    }