dovecot-2.0: doveadm: Fixed displaying output when using -A or -...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 28 03:59:35 EEST 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/02d97fb66047
changeset: 12861:02d97fb66047
user: Timo Sirainen <tss at iki.fi>
date: Tue Jun 28 03:59:26 2011 +0300
description:
doveadm: Fixed displaying output when using -A or -u wildcards.
diffstat:
src/doveadm/doveadm-mail-server.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r aa9b50f6a92b -r 02d97fb66047 src/doveadm/doveadm-mail-server.c
--- a/src/doveadm/doveadm-mail-server.c Tue Jun 28 03:31:22 2011 +0300
+++ b/src/doveadm/doveadm-mail-server.c Tue Jun 28 03:59:26 2011 +0300
@@ -214,10 +214,6 @@
i_assert(cmd_ctx == ctx || cmd_ctx == NULL);
cmd_ctx = ctx;
- /* server sends the sticky headers for each row as well,
- so undo any sticks we might have added already */
- doveadm_print_unstick_headers();
-
ret = doveadm_mail_server_user_get_host(ctx, input, &host, error_r);
if (ret < 0)
return -1;
@@ -227,6 +223,10 @@
return 0;
}
+ /* server sends the sticky headers for each row as well,
+ so undo any sticks we might have added already */
+ doveadm_print_unstick_headers();
+
server = doveadm_server_get(ctx, host);
conn = doveadm_server_find_unused_conn(server);
if (conn != NULL)
More information about the dovecot-cvs
mailing list