dovecot-2.2-pigeonhole: Last commit was quite inadequate.

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Wed Sep 19 23:47:29 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/f069f8bff55b
changeset: 1667:f069f8bff55b
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Wed Sep 19 22:44:10 2012 +0200
description:
Last commit was quite inadequate.

diffstat:

 src/managesieve-login/managesieve-login-settings-plugin.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r b16a4c228dd5 -r f069f8bff55b src/managesieve-login/managesieve-login-settings-plugin.c
--- a/src/managesieve-login/managesieve-login-settings-plugin.c	Wed Sep 19 21:59:08 2012 +0200
+++ b/src/managesieve-login/managesieve-login-settings-plugin.c	Wed Sep 19 22:44:10 2012 +0200
@@ -202,13 +202,13 @@
 {	
 	const char *const *module = ctx->modules;
 
-	if ( module != NULL ) {
-		while ( module != NULL ) {
+	if ( module != NULL && *module != NULL ) {
+		while ( *module != NULL ) {
 			if ( strcmp(*module, "managesieve-login") == 0 )
 				break;
 			module++;
 		}
-		if ( module == NULL )
+		if ( *module == NULL )
 			return;
 	}
 


More information about the dovecot-cvs mailing list