diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/adblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adblock.c b/src/adblock.c index b6d16527..cfa7c77d 100644 --- a/src/adblock.c +++ b/src/adblock.c @@ -824,10 +824,10 @@ adblock_init() { if (!GET_BOOL("adblocker")) return false; char *filterlist = GET_CHAR("adblocker-filterlist"); - char buffer[PATH_MAX]; - filterlist = util_expand_home(buffer, filterlist, PATH_MAX); if (filterlist == NULL) return false; + char buffer[PATH_MAX]; + filterlist = util_expand_home(buffer, filterlist, PATH_MAX); if (!g_file_test(filterlist, G_FILE_TEST_EXISTS)) { fprintf(stderr, "Filterlist not found: %s\n", filterlist); return false; |