dovecot-2.1-pigeonhole: LDA Sieve plugin: fixed stupid mistake i...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Mar 3 17:52:44 EET 2013


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/9e8392895ab7
changeset: 1676:9e8392895ab7
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Mar 03 16:52:39 2013 +0100
description:
LDA Sieve plugin: fixed stupid mistake in error handling for multiscript.
Used errno instead of error variable.

diffstat:

 src/plugins/lda-sieve/lda-sieve-plugin.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5a440010d1cf -r 9e8392895ab7 src/plugins/lda-sieve/lda-sieve-plugin.c
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c	Sat Mar 02 22:36:55 2013 +0100
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c	Sun Mar 03 16:52:39 2013 +0100
@@ -219,7 +219,7 @@
 			(svinst, files[i], NULL, ehandler, &error);
 
 		if ( script == NULL ) {
-			switch ( errno ) {
+			switch ( error ) {
 			case SIEVE_ERROR_NOT_FOUND:
 				/* Shouldn't normally happen, but the script could have disappeared */
 				sieve_sys_warning


More information about the dovecot-cvs mailing list