dovecot-sieve-1.1: We weren't supposed to log first error immedi...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 20 11:12:47 EEST 2007


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/978a6225ecd7
changeset: 27:978a6225ecd7
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jul 20 10:54:30 2007 +0300
description:
We weren't supposed to log first error immediately.

diffstat:

1 file changed, 1 insertion(+), 3 deletions(-)
src/sieve-cmu.c |    4 +---

diffs (15 lines):

diff -r 7fbc683f2587 -r 978a6225ecd7 src/sieve-cmu.c
--- a/src/sieve-cmu.c	Fri Jul 20 10:47:16 2007 +0300
+++ b/src/sieve-cmu.c	Fri Jul 20 10:54:30 2007 +0300
@@ -675,10 +675,8 @@ static int sieve_parse_error_handler(int
 {
     script_data_t *sd = (script_data_t *) sc;
 
-    if (sd->errors == NULL) {
+    if (sd->errors == NULL)
 	    sd->errors = str_new(default_pool, 1024);
-	    i_info("sieve parse error: line %d: %s", lineno, msg);
-    }
 
     str_printfa(sd->errors, "line %d: %s\n", lineno, msg);
     return SIEVE_OK;


More information about the dovecot-cvs mailing list