aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-23 21:54:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-23 21:54:26 +0000
commit59d6fe4f5787005f48bfd9fe32d5b85e763312b4 (patch)
tree9974a03bfbd256accbe09ec39212e6521ce58f58 /src/plugins/regexp.c
parentaf06f40be724445d2084503e3f17448af17ff779 (diff)
downloadrspamd-59d6fe4f5787005f48bfd9fe32d5b85e763312b4.tar.gz
rspamd-59d6fe4f5787005f48bfd9fe32d5b85e763312b4.zip
Fix setting of the expression element.
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 159399dfd..c5f3203b3 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -84,6 +84,7 @@ read_regexp_expression (rspamd_mempool_t * pool,
return FALSE;
}
+ g_assert (e != NULL);
chain->expr = e;
return TRUE;