summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-06 00:31:54 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-06 00:31:54 +0000
commit3fcb02afa18bdbb4688d6066add9c87306ea2233 (patch)
tree23fd7c0a49c223ab33d720f28d9b5dbca3313365
parent77ea8a8d6399c112bc901674dbe490214d95af23 (diff)
downloadnetsurf-3fcb02afa18bdbb4688d6066add9c87306ea2233.tar.gz
netsurf-3fcb02afa18bdbb4688d6066add9c87306ea2233.tar.bz2
Revert r10650/1. We no longer require noisy fetch/cache logging.
svn path=/trunk/netsurf/; revision=11223
-rw-r--r--content/fetch.c2
-rw-r--r--content/fetchers/fetch_curl.c7
-rw-r--r--content/llcache.c2
3 files changed, 4 insertions, 7 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 433a06fd9..a90568b1b 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -51,7 +51,7 @@
#include "utils/ring.h"
/* Define this to turn on verbose fetch logging */
-#define DEBUG_FETCH_VERBOSE
+#undef DEBUG_FETCH_VERBOSE
bool fetch_active; /**< Fetches in progress, please call fetch_poll(). */
diff --git a/content/fetchers/fetch_curl.c b/content/fetchers/fetch_curl.c
index 4af563286..1b0af6d68 100644
--- a/content/fetchers/fetch_curl.c
+++ b/content/fetchers/fetch_curl.c
@@ -180,11 +180,8 @@ void fetch_curl_register(void)
SETOPT(CURLOPT_VERBOSE, 0);
}
SETOPT(CURLOPT_ERRORBUFFER, fetch_error_buffer);
- /* 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);
- */
+ 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);
diff --git a/content/llcache.c b/content/llcache.c
index c457ca774..cf409849a 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -36,7 +36,7 @@
#include "utils/utils.h"
/** Define to enable tracing of llcache operations. */
-#define LLCACHE_TRACE
+#undef LLCACHE_TRACE
/** State of a low-level cache object fetch */
typedef enum {