Mercurial > dovecot > core-2.2
changeset 21510:ea1d4d6e5493
doveadm director map: Fix checking if host parameter is required
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 10 Feb 2017 12:09:50 +0200 |
parents | bc9fe0a33b0a |
children | 59fca1e76009 |
files | src/doveadm/doveadm-director.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/doveadm-director.c Fri Feb 10 11:58:17 2017 +0200 +++ b/src/doveadm/doveadm-director.c Fri Feb 10 12:09:50 2017 +0200 @@ -333,7 +333,7 @@ ctx = cmd_director_init(cctx); - if ((ctx->hash_map && ctx->user_map) && ctx->host == NULL) { + if ((ctx->hash_map || ctx->user_map) && ctx->host == NULL) { director_cmd_help(cctx->cmd); return; }