aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}