Mercurial > dovecot > core-2.2
diff src/director/doveadm-connection.c @ 22510:3c4348ffe0d6
director: Fix flush to kick the user also when all backends are down
The user's host can't change, because there are no other hosts. So add a
new parameter to force the kick anyway.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 20 Sep 2017 01:47:38 +0300 |
parents | 3afbfedcdd31 |
children | 30549d635210 |
line wrap: on
line diff
--- a/src/director/doveadm-connection.c Thu Sep 14 12:50:29 2017 +0300 +++ b/src/director/doveadm-connection.c Wed Sep 20 01:47:38 2017 +0300 @@ -469,7 +469,8 @@ /* there are no more available backends. kick the user instead. */ director_kill_user(dir, dir->self_host, user, - user->host->tag, user->host); + user->host->tag, user->host, + TRUE); users_killed = TRUE; } } T_END;