aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 18:44:51 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-19 18:44:51 +0300
commit625169e939accf50fa9cf283ff62d06d4a792699 (patch)
treeedd3586f41ff1efc1bfb602ca157abb5f264920a /src/plugins/regexp.c
parent4ab332a14d58b2cc9848648e460002f676f0bb56 (diff)
downloadrspamd-625169e939accf50fa9cf283ff62d06d4a792699.tar.gz
rspamd-625169e939accf50fa9cf283ff62d06d4a792699.zip
* Fix bug in redirector
* Do not write info about redirects to log file as this info is already in redirector's log file
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 8c3a9d354..461888abf 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -276,6 +276,7 @@ optimize_regexp_expression (struct expression **e, GQueue *stack, gboolean res)
/* If this operation is just ! just inverse res and check for further operators */
if (it->content.operation == '!') {
res = !res;
+ it = it->next;
continue;
}
else if (it->content.operation == '&' && res == FALSE) {