Skip to content

Commit

Permalink
director: Fix HOST-RESET-USERS with host parameter.
Browse files Browse the repository at this point in the history
The logic was reversed: It should flush the specified host, not some other
host. Broken by 11ee3b4
  • Loading branch information
sirainen committed Oct 25, 2016
1 parent 70d2886 commit 31e3c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/director/doveadm-connection.c
Expand Up @@ -520,7 +520,7 @@ doveadm_cmd_host_reset_users(struct doveadm_connection *conn,
}

for (i = 0; i < count; i++) {
if (net_ip_compare(&hosts[i]->ip, &ip) == 0)
if (net_ip_compare(&hosts[i]->ip, &ip))
break;
}
if (i == count) {
Expand Down

0 comments on commit 31e3c20

Please sign in to comment.