]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Remove redundant if
authorTeemu Huovila <teemu.huovila@dovecot.fi>
Tue, 22 Sep 2015 11:32:51 +0000 (14:32 +0300)
committerTeemu Huovila <teemu.huovila@dovecot.fi>
Tue, 22 Sep 2015 11:32:51 +0000 (14:32 +0300)
src/auth/auth-request.c

index bf6edaf125d48deab3afcad03969da8b168a7d54..c9a1024f9bfd4668fa31f05bf6f87270561c8fb6 100644 (file)
@@ -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));