From: Vsevolod Stakhov Date: Thu, 19 Mar 2009 15:44:51 +0000 (+0300) Subject: * Fix bug in redirector X-Git-Tag: 0.2.7~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=625169e939accf50fa9cf283ff62d06d4a792699;p=thirdparty%2Frspamd.git * Fix bug in redirector * Do not write info about redirects to log file as this info is already in redirector's log file --- diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 8c3a9d354b..461888abf6 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 4b12936353..d92fe4a1a4 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); }