diff --git a/http.c b/http.c index 5e6f67d00..64068a2fc 100644 --- a/http.c +++ b/http.c @@ -943,7 +943,7 @@ static int http_get_file(const char *url, const char *filename, int options) void http_error(const char *url) { - error("%s while accessing %s", curl_errorstr, url); + error("unable to access '%s': %s", url, curl_errorstr); } int http_fetch_ref(const char *base, struct ref *ref)