dovecot-2.2: director: Fixed "doveadm director status <user>" lo...

dovecot at dovecot.org dovecot at dovecot.org
Thu May 7 15:06:33 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/04ac1a15e6e4
changeset: 18541:04ac1a15e6e4
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 07 18:04:33 2015 +0300
description:
director: Fixed "doveadm director status <user>" lookup to return "Current" correctly.

diffstat:

 src/director/doveadm-connection.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7a972218b15e -r 04ac1a15e6e4 src/director/doveadm-connection.c
--- 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);


More information about the dovecot-cvs mailing list