dovecot-2.0: doveadm: Added LF after ^L in pager so that the out...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 21 23:52:04 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/15a6c64df84a
changeset: 11607:15a6c64df84a
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 21 21:50:31 2010 +0100
description:
doveadm: Added LF after ^L in pager so that the output is nicer to look at with "less".

diffstat:

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

diffs (12 lines):

diff -r a3face3fd1d0 -r 15a6c64df84a src/doveadm/doveadm-print-pager.c
--- a/src/doveadm/doveadm-print-pager.c	Mon Jun 21 21:48:06 2010 +0100
+++ b/src/doveadm/doveadm-print-pager.c	Mon Jun 21 21:50:31 2010 +0100
@@ -33,7 +33,7 @@
 {
 	if (++ctx->header_idx == array_count(&ctx->headers)) {
 		ctx->header_idx = 0;
-		printf("\x0c"); /* ^L */
+		printf("\x0c\n"); /* ^L */
 	}
 }
 


More information about the dovecot-cvs mailing list