dovecot-2.2: doveadm user: Fixed printing multiple users

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 18 16:23:52 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/2503785cf989
changeset: 16982:2503785cf989
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 18 16:23:42 2013 +0200
description:
doveadm user: Fixed printing multiple users

diffstat:

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

diffs (12 lines):

diff -r c41700c4a9bb -r 2503785cf989 src/doveadm/doveadm-auth.c
--- a/src/doveadm/doveadm-auth.c	Mon Nov 18 16:18:53 2013 +0200
+++ b/src/doveadm/doveadm-auth.c	Mon Nov 18 16:23:42 2013 +0200
@@ -388,7 +388,7 @@
 		return 0;
 	}
 
-	if (show_field == NULL) {
+	if (show_field == NULL && !doveadm_print_is_initialized()) {
 		doveadm_print_init(DOVEADM_PRINT_TYPE_TAB);
 		doveadm_print_header_simple("field");
 		doveadm_print_header_simple("value");


More information about the dovecot-cvs mailing list