changeset 1685:e27f1df9ae80

clearer Capi_filters_allow msg
author Jeremy Henty, corvid
date Fri, 30 Jul 2010 17:34:15 +0000
parents 90603f572f75
children 523350565889
files src/capi.c src/url.c
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/capi.c	Sun Jul 25 17:52:54 2010 -0400
+++ b/src/capi.c	Fri Jul 30 17:34:15 2010 +0000
@@ -392,10 +392,8 @@
                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:
--- a/src/url.c	Sun Jul 25 17:52:54 2010 -0400
+++ b/src/url.c	Fri Jul 30 17:34:15 2010 +0000
@@ -749,6 +749,6 @@
       s--;
    }
 
-   MSG("public suffix of %s is %s\n", host, s);
+   _MSG("public suffix of %s is %s\n", host, s);
    return s;
 }