Don't suppress curl debug output, either

svn path=/trunk/netsurf/; revision=10651
This commit is contained in:
John Mark Bell 2010-07-17 09:13:44 +00:00
parent 183974b437
commit 1052f19075

View File

@ -182,8 +182,11 @@ void fetch_curl_register(void)
SETOPT(CURLOPT_VERBOSE, 0);
}
SETOPT(CURLOPT_ERRORBUFFER, fetch_error_buffer);
if (option_suppress_curl_debug)
SETOPT(CURLOPT_DEBUGFUNCTION, fetch_curl_ignore_debug);
/* jmb -- don't suppress curl debug while we're
* investigating low-level cache crashes
* if (option_suppress_curl_debug)
* SETOPT(CURLOPT_DEBUGFUNCTION, fetch_curl_ignore_debug);
*/
SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data);
SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header);
SETOPT(CURLOPT_PROGRESSFUNCTION, fetch_curl_progress);