aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--src/plugins/regexp.c1
-rw-r--r--src/plugins/surbl.c2
2 files changed, 2 insertions, 1 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) {
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 4b1293635..d92fe4a1a 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -582,7 +582,7 @@ redirector_callback (int fd, short what, void *arg)
}
}
if (*p == '\0') {
- msg_info ("redirector_callback: <%s> got reply from redirector: '%s' -> '%s'",
+ msg_debug ("redirector_callback: <%s> got reply from redirector: '%s' -> '%s'",
param->task->message_id, struri (param->url), c);
parse_uri (param->url, c, param->task->task_pool);
}