summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-08-05 10:52:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-08-05 10:52:09 +0200
commit9b5d79ec68d5380f26b92cd0d9cb7af6a19ac849 (patch)
tree7d937a34f5d2e534d29c03a4d8d67c46430f74a1 /methods/https.cc
parent5aa95c863d9bc5b0de7dd1279d3ad672193cc3a6 (diff)
fix various -Wall warnings
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index e53ba1a11..98dfeefa1 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -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;
}