From 71d016aba5214e6a8291215cc4574d761696f622 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 15 Nov 2014 18:23:44 +0000 Subject: Remove unecessary form debug Additionaly we make the curl fetcher report errors instead of uninitialised buffer. --- content/fetchers/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/fetchers/curl.c') 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; } -- cgit v1.2.3