changeset 19181:c3dfdf9a17a3

auth: Remove redundant if
author Teemu Huovila <teemu.huovila@dovecot.fi>
date Tue, 22 Sep 2015 14:32:51 +0300
parents 46e5f4a5282d
children 13252c581016
files src/auth/auth-request.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));