diff options
author | Ashish Gupta <ashmew2@gmail.com> | 2017-10-25 22:25:41 +0200 |
---|---|---|
committer | Ashish Gupta <ashmew2@gmail.com> | 2017-10-25 22:25:41 +0200 |
commit | 346baf80d8a0785d48a2faeae0af42258e22150d (patch) | |
tree | f4edb6511a5919556de29e621f01017655d83f61 /content/fetch.c | |
parent | ea8d49cc5da9f13baff2f44d8cf0ddde774e77bb (diff) | |
download | netsurf-346baf80d8a0785d48a2faeae0af42258e22150d.tar.gz netsurf-346baf80d8a0785d48a2faeae0af42258e22150d.tar.bz2 |
Use libnslog.
Get rid of LOG() macro calls and replace with calls to NSLOG.
Diffstat (limited to 'content/fetch.c')
-rw-r--r-- | content/fetch.c | 13 |
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; } |