]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix glob flag set
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 14 Sep 2018 16:48:05 +0000 (17:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 14 Sep 2018 16:48:05 +0000 (17:48 +0100)
src/libutil/map_helpers.c

index bf18102d8d1f84e84142246ec2bae80719006e83..5f33383d8eaa5dcc15a2b19433b9c2692a65db95 100644 (file)
@@ -1028,7 +1028,7 @@ rspamd_regexp_list_read_multiple (
 
        if (data->cur_data == NULL) {
                re_map = rspamd_map_helper_new_regexp (data->map,
-                               RSPAMD_REGEXP_MAP_FLAG_GLOB|RSPAMD_REGEXP_MAP_FLAG_MULTIPLE);
+                               RSPAMD_REGEXP_MAP_FLAG_MULTIPLE);
                data->cur_data = re_map;
        }
 
@@ -1051,7 +1051,8 @@ rspamd_glob_list_read_multiple (
        struct rspamd_regexp_map_helper *re_map;
 
        if (data->cur_data == NULL) {
-               re_map = rspamd_map_helper_new_regexp (data->map, RSPAMD_REGEXP_MAP_FLAG_MULTIPLE);
+               re_map = rspamd_map_helper_new_regexp (data->map,
+                               RSPAMD_REGEXP_MAP_FLAG_GLOB|RSPAMD_REGEXP_MAP_FLAG_MULTIPLE);
                data->cur_data = re_map;
        }