summaryrefslogtreecommitdiff
path: root/utils/nsurl.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-06-09 21:22:25 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-06-09 21:22:25 +0100
commitf6fec1a8d767a71debb94531a0f86e3790bce24f (patch)
treed10155f6efad57919e68cf17f0a245e54846e10d /utils/nsurl.c
parent4488c8a2e40f27d25e675429ba3ea89b367d5144 (diff)
downloadnetsurf-f6fec1a8d767a71debb94531a0f86e3790bce24f.tar.gz
netsurf-f6fec1a8d767a71debb94531a0f86e3790bce24f.tar.bz2
Put ultra-verbose logging inside NSURL_DEBUG #ifdef.
Diffstat (limited to 'utils/nsurl.c')
-rw-r--r--utils/nsurl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/nsurl.c b/utils/nsurl.c
index eeb411d3f..591907fad 100644
--- a/utils/nsurl.c
+++ b/utils/nsurl.c
@@ -1743,7 +1743,9 @@ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined)
assert(base != NULL);
assert(rel != NULL);
- LOG(("base \"%s\" rel \"%s\"", nsurl_access(base), rel));
+#ifdef NSURL_DEBUG
+ LOG(("base: \"%s\", rel: \"%s\"", nsurl_access(base), rel));
+#endif
/* Peg out the URL sections */
nsurl__get_string_markers(rel, &m, true);