diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-14 17:48:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-14 17:48:05 +0100 |
commit | e0b5b3a7704eff3c50c23c0cc9388defe9ec8e45 (patch) | |
tree | a8b9306b4f870c3f42dc8956c9797fcc65b1ded7 /src/libutil | |
parent | 96aec883a3e593f1ee01b4d3d89571a77cb10a62 (diff) | |
download | rspamd-e0b5b3a7704eff3c50c23c0cc9388defe9ec8e45.tar.gz rspamd-e0b5b3a7704eff3c50c23c0cc9388defe9ec8e45.zip |
[Minor] Fix glob flag set
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/map_helpers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libutil/map_helpers.c b/src/libutil/map_helpers.c index bf18102d8..5f33383d8 100644 --- a/src/libutil/map_helpers.c +++ b/src/libutil/map_helpers.c @@ -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; } |