summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-15 18:23:44 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-15 18:23:44 +0000
commit71d016aba5214e6a8291215cc4574d761696f622 (patch)
tree3a57a5c31794266c85cd4edd00f120258cb55931 /content/fetchers
parent59df200b8359e4c030e1f6f574c58ae04e169594 (diff)
downloadnetsurf-71d016aba5214e6a8291215cc4574d761696f622.tar.gz
netsurf-71d016aba5214e6a8291215cc4574d761696f622.tar.bz2
Remove unecessary form debug
Additionaly we make the curl fetcher report errors instead of uninitialised buffer.
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;
}