aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Henty, corvid <devnull@localhost>2010-07-30 17:34:15 +0000
committerJeremy Henty, corvid <devnull@localhost>2010-07-30 17:34:15 +0000
commit3d741c1dd8a3f09d03f448b5f3c5537135bfbbab (patch)
treec7937e5327dcad4199d839a7d141f5bdfbce4e22
parent61f5d179b7b22cddfa2c141bb75474b9955a8bf3 (diff)
clearer Capi_filters_allow msg
-rw-r--r--src/capi.c6
-rw-r--r--src/url.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/capi.c b/src/capi.c
index c4e6679e..3df48628 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -392,10 +392,8 @@ static bool_t Capi_filters_allow(const DilloUrl *wanted,
ret = dStrcasecmp(req_suffix, want_suffix) == 0;
}
- if (ret)
- MSG("ALLOW\n");
- else
- MSG("DENY\n");
+ MSG("Capi_filters_allow: from %s to %s: %s\n", req_host, want_host,
+ ret ? "ALLOWED" : "DENIED");
break;
}
case PREFS_FILTER_ALLOW_ALL:
diff --git a/src/url.c b/src/url.c
index 7cd09103..acc8aa72 100644
--- a/src/url.c
+++ b/src/url.c
@@ -749,6 +749,6 @@ const char *a_Url_host_find_public_suffix(const char *host)
s--;
}
- MSG("public suffix of %s is %s\n", host, s);
+ _MSG("public suffix of %s is %s\n", host, s);
return s;
}