From: Teemu Huovila Date: Tue, 22 Sep 2015 11:32:51 +0000 (+0300) Subject: auth: Remove redundant if X-Git-Tag: 2.2.19.rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab0eb4b10d25bd74cc2058ffb2a08fa10919519a;p=thirdparty%2Fdovecot%2Fcore.git auth: Remove redundant if --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index bf6edaf125..c9a1024f9b 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -1355,7 +1355,7 @@ auth_request_validate_networks(struct auth_request *request, 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));