diff options
author | Jeremy Henty, corvid <devnull@localhost> | 2010-07-30 17:34:15 +0000 |
---|---|---|
committer | Jeremy Henty, corvid <devnull@localhost> | 2010-07-30 17:34:15 +0000 |
commit | 3d741c1dd8a3f09d03f448b5f3c5537135bfbbab (patch) | |
tree | c7937e5327dcad4199d839a7d141f5bdfbce4e22 /src | |
parent | 61f5d179b7b22cddfa2c141bb75474b9955a8bf3 (diff) |
clearer Capi_filters_allow msg
Diffstat (limited to 'src')
-rw-r--r-- | src/capi.c | 6 | ||||
-rw-r--r-- | src/url.c | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -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: @@ -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; } |