dovecot-2.2: auth: Crashfix to "doveadm auth cache flush" when a...

dovecot at dovecot.org dovecot at dovecot.org
Sun Nov 3 21:44:13 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/a87295904845
changeset: 16925:a87295904845
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Nov 03 21:44:06 2013 +0200
description:
auth: Crashfix to "doveadm auth cache flush" when auth cache was disabled

diffstat:

 src/auth/auth-master-connection.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f66b0fe68439 -r a87295904845 src/auth/auth-master-connection.c
--- a/src/auth/auth-master-connection.c	Sun Nov 03 21:42:47 2013 +0200
+++ b/src/auth/auth-master-connection.c	Sun Nov 03 21:44:06 2013 +0200
@@ -150,7 +150,7 @@
 	if (passdb_cache == NULL) {
 		/* cache disabled */
 		count = 0;
-	} if (list[1] == NULL) {
+	} else if (list[1] == NULL) {
 		/* flush the whole cache */
 		count = auth_cache_clear(passdb_cache);
 	} else {


More information about the dovecot-cvs mailing list