From ce70744b3c0bc1f8198b24372fc7e33b4b3e1e42 Mon Sep 17 00:00:00 2001 From: portix Date: Sun, 11 Mar 2012 18:08:23 +0100 Subject: Fixing possible SIGABRT in dwb_set_setting when the setting is set from commandline --- src/adblock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/adblock.c') 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; } -- cgit v1.2.3