aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/expression.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-30 13:33:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-30 13:33:35 +0100
commit1ba46d50f44e7ad5ac17c9c1b9493e6638c4200d (patch)
treecfb6ba390d8065dd45ee40a6bd03740dbbac897d /src/libutil/expression.c
parentd46dc843112907013336cfd157d97c970dd9c7d7 (diff)
downloadrspamd-1ba46d50f44e7ad5ac17c9c1b9493e6638c4200d.tar.gz
rspamd-1ba46d50f44e7ad5ac17c9c1b9493e6638c4200d.zip
Fix regexp_search invocation.
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r--src/libutil/expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 7faebb547..6e58fa40d 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -593,7 +593,7 @@ rspamd_parse_expression (const gchar *line, gsize len,
state = PARSE_OP;
}
else if (rspamd_regexp_search (num_re, p, end - p, NULL, NULL,
- FALSE)) {
+ FALSE, NULL)) {
c = p;
state = PARSE_LIM;
}