dovecot-2.2: auth: Fixed wrong assert added by recent commit.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 15 08:04:50 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/854a1719c840
changeset: 17492:854a1719c840
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 15 11:03:32 2014 +0300
description:
auth: Fixed wrong assert added by recent commit.

diffstat:

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

diffs (12 lines):

diff -r b9886d5e2225 -r 854a1719c840 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Sat Jun 14 11:58:57 2014 +0300
+++ b/src/auth/auth-request.c	Sun Jun 15 11:03:32 2014 +0300
@@ -2162,7 +2162,7 @@
 				auth_request->userdb->userdb->iface->name;
 		}
 	} else if (subsystem == AUTH_SUBSYS_MECH) {
-		i_assert(auth_request->mech == NULL);
+		i_assert(auth_request->mech != NULL);
 		name = t_str_lcase(auth_request->mech->mech_name);
 	} else {
 		name = subsystem;


More information about the dovecot-cvs mailing list