Browse Source

[Minor] Fix glob flag set

tags/1.8.0
Vsevolod Stakhov 5 years ago
parent
commit
e0b5b3a770
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/libutil/map_helpers.c

+ 3
- 2
src/libutil/map_helpers.c View 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;
}


Loading…
Cancel
Save