dovecot-2.2: doveadm: table formatter printed header unaligned i...

dovecot at dovecot.org dovecot at dovecot.org
Wed May 7 17:15:15 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/21f9679214ac
changeset: 17338:21f9679214ac
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 07 20:14:32 2014 +0300
description:
doveadm: table formatter printed header unaligned if it had hidden titles.
This was broken by the previous table formatter change.

diffstat:

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

diffs (12 lines):

diff -r 8568cacb0d03 -r 21f9679214ac src/doveadm/doveadm-print-table.c
--- a/src/doveadm/doveadm-print-table.c	Wed May 07 19:47:12 2014 +0300
+++ b/src/doveadm/doveadm-print-table.c	Wed May 07 20:14:32 2014 +0300
@@ -148,7 +148,7 @@
 	}
 	if (i == count)
 		return;
-	for (; i < count; i++) {
+	for (i = 0; i < count; i++) {
 		if (i > 0) fprintf(stderr, " ");
 
 		if ((headers[i].flags &


More information about the dovecot-cvs mailing list