aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 13:52:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 13:52:41 +0100
commit6bc3b9fcf3c354464ca2735d0070c19fc1f00a68 (patch)
tree34cb257ddb9a58f4d57885a2ee3f324cd69a3da8 /src
parent2d18d5d8b0648079532e16a95028e5faea973f13 (diff)
downloadrspamd-6bc3b9fcf3c354464ca2735d0070c19fc1f00a68.tar.gz
rspamd-6bc3b9fcf3c354464ca2735d0070c19fc1f00a68.zip
Properly initialize matcher flags.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index e655ab3e4..ca8e0d7dc 100644
--- a/src/libserver/url.c
+++ b/src/libserver/url.c
@@ -335,6 +335,7 @@ rspamd_url_parse_tld_file (const gchar *fname, struct url_match_scanner *scanner
patlen = strlen (p);
m.pattern = g_malloc (patlen + 2);
m.pattern[0] = '.';
+ m.flags = flags;
pat.ptr = m.pattern;
pat.len = patlen + 1;
rspamd_strlcpy (&m.pattern[1], p, patlen + 1);