aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 19:12:15 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 19:12:15 +0300
commitfb00c75abdfeaa15302a5922859e424b0313d5b5 (patch)
tree46d93b2616d96654d2474e80ea582e48b104165b
parent625169e939accf50fa9cf283ff62d06d4a792699 (diff)
downloadrspamd-fb00c75abdfeaa15302a5922859e424b0313d5b5.tar.gz
rspamd-fb00c75abdfeaa15302a5922859e424b0313d5b5.zip
* Misprint in optimizer function
-rw-r--r--src/plugins/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 461888abf..6509a4e5e 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -280,11 +280,11 @@ optimize_regexp_expression (struct expression **e, GQueue *stack, gboolean res)
continue;
}
else if (it->content.operation == '&' && res == FALSE) {
- e = &it;
+ *e = it;
ret = TRUE;
}
else if (it->content.operation == '|' && res == TRUE) {
- e = &it;
+ *e = it;
ret = TRUE;
}
break;