Revert "Enable verbose curl debug"

This reverts commit f5a98defae.
This commit is contained in:
John-Mark Bell 2012-11-04 12:01:45 +00:00
parent 075e4336d8
commit 9924bcf850
1 changed files with 1 additions and 4 deletions

View File

@ -194,11 +194,8 @@ void fetch_curl_register(void)
SETOPT(CURLOPT_VERBOSE, 0);
}
SETOPT(CURLOPT_ERRORBUFFER, fetch_error_buffer);
if (nsoption_bool(suppress_curl_debug)) {
if (nsoption_bool(suppress_curl_debug))
SETOPT(CURLOPT_DEBUGFUNCTION, fetch_curl_ignore_debug);
} else {
SETOPT(CURLOPT_VERBOSE, 1);
}
SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data);
SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header);
SETOPT(CURLOPT_PROGRESSFUNCTION, fetch_curl_progress);