dovecot-2.0-pigeonhole: lib-sieve: fixed copy-paste error in sie...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sat Dec 17 16:19:22 EET 2011


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/787832d0aa0a
changeset: 1550:787832d0aa0a
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Dec 17 14:47:23 2011 +0100
description:
lib-sieve: fixed copy-paste error in sieve_get_warnings()
It returned the number of errors in stead of the number of warnings.

diffstat:

 src/lib-sieve/sieve-error.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5bbd8d148b7d -r 787832d0aa0a src/lib-sieve/sieve-error.c
--- a/src/lib-sieve/sieve-error.c	Mon Dec 12 00:25:47 2011 +0100
+++ b/src/lib-sieve/sieve-error.c	Sat Dec 17 14:47:23 2011 +0100
@@ -489,7 +489,7 @@
 {
 	if ( ehandler == NULL || ehandler->pool == NULL ) return 0;
 
-	return ehandler->errors;
+	return ehandler->warnings;
 }
 
 bool sieve_errors_more_allowed(struct sieve_error_handler *ehandler) 


More information about the dovecot-cvs mailing list