summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchers')
-rw-r--r--content/fetchers/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index 81aeaf101..08acbf286 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -979,7 +979,7 @@ static void fetch_curl_done(CURL *curl_handle, CURLcode result)
} else if (error) {
if (result != CURLE_SSL_CONNECT_ERROR) {
msg.type = FETCH_ERROR;
- msg.data.error = fetch_error_buffer;
+ msg.data.error = curl_easy_strerror(result);
} else {
msg.type = FETCH_SSL_ERR;
}