summaryrefslogtreecommitdiff
path: root/src/adblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock.c')
-rw-r--r--src/adblock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adblock.c b/src/adblock.c
index c39100f6..3cb6d67f 100644
--- a/src/adblock.c
+++ b/src/adblock.c
@@ -144,6 +144,7 @@ adblock_element_hider_free(AdblockElementHider *hider) {
static inline gboolean
adblock_do_match(AdblockRule *rule, const char *uri) {
if (g_regex_match(rule->pattern, uri, 0, NULL)) {
+ printf("blocked %s %s\n", uri, g_regex_get_pattern(rule->pattern));
PRINT_DEBUG("blocked %s %s\n", uri, g_regex_get_pattern(rule->pattern));
return true;
}