summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);