Mercurial > dovecot > core-2.2
changeset 18541:04ac1a15e6e4
director: Fixed "doveadm director status <user>" lookup to return "Current" correctly.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 07 May 2015 18:04:33 +0300 |
parents | 7a972218b15e |
children | c45fe041ccfb |
files | src/director/doveadm-connection.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/director/doveadm-connection.c Thu May 07 17:29:55 2015 +0300 +++ b/src/director/doveadm-connection.c Thu May 07 18:04:33 2015 +0300 @@ -366,7 +366,7 @@ tag = args[1] != NULL ? args[1] : ""; } if (str_to_uint(username, &username_hash) < 0) - username_hash = user_directory_get_username_hash(conn->dir->users, line); + username_hash = user_directory_get_username_hash(conn->dir->users, username); /* get user's current host */ user = user_directory_lookup(conn->dir->users, username_hash);