dovecot-2.2: auth: Remove redundant if

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 22 11:34:19 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/c3dfdf9a17a3
changeset: 19181:c3dfdf9a17a3
user:      Teemu Huovila <teemu.huovila at dovecot.fi>
date:      Tue Sep 22 14:32:51 2015 +0300
description:
auth: Remove redundant if

diffstat:

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

diffs (12 lines):

diff -r 46e5f4a5282d -r c3dfdf9a17a3 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Tue Sep 22 14:26:25 2015 +0300
+++ b/src/auth/auth-request.c	Tue Sep 22 14:32:51 2015 +0300
@@ -1355,7 +1355,7 @@
 	else if (remote_ip->family == 0) {
 		auth_request_log_info(request, AUTH_SUBSYS_DB,
 			"%s check failed: Remote IP not known and 'local' missing", name);
-	} else if (!found) {
+	} else {
 		auth_request_log_info(request, AUTH_SUBSYS_DB,
 			"%s check failed: IP %s not in allowed networks",
 			name, net_ip2addr(remote_ip));


More information about the dovecot-cvs mailing list