summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 64e639c0c..54029b3ae 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -65,16 +65,6 @@
#include "javascript/fetcher.h"
#include "content/urldb.h"
-/* Define this to turn on verbose fetch logging */
-#define DEBUG_FETCH_VERBOSE
-
-/** Verbose fetcher logging */
-#ifdef DEBUG_FETCH_VERBOSE
-#define FETCH_LOG(x...) LOG(x)
-#else
-#define FETCH_LOG(x...)
-#endif
-
/** The maximum number of fetchers that can be added */
#define MAX_FETCHERS 10
@@ -791,8 +781,7 @@ void fetch_remove_from_queues(struct fetch *fetch)
/* exported interface documented in content/fetch.h */
void fetch_set_http_code(struct fetch *fetch, long http_code)
{
- NSLOG(fetch, DEBUG, "Setting HTTP code to %ld", http_code);
- FETCH_LOG("Setting HTTP code to %ld for fetch 0x%x", http_code, fetch);
+ NSLOG(fetch, DEBUG, "fetch 0x%x, Setting HTTP code to %ld", fetch, http_code);
fetch->http_code = http_code;
}