dovecot-2.0: doveadm: Fixed printing sticky headers when stream ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 23 22:28:05 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/1cfbdcfc7676
changeset: 11895:1cfbdcfc7676
user: Timo Sirainen <tss at iki.fi>
date: Fri Jul 23 20:28:02 2010 +0100
description:
doveadm: Fixed printing sticky headers when stream printing was also used.
diffstat:
src/doveadm/doveadm-print.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 06a7435b6f53 -r 1cfbdcfc7676 src/doveadm/doveadm-print.c
--- a/src/doveadm/doveadm-print.c Fri Jul 23 18:05:26 2010 +0100
+++ b/src/doveadm/doveadm-print.c Fri Jul 23 20:28:02 2010 +0100
@@ -83,6 +83,8 @@
void doveadm_print_stream(const void *value, size_t size)
{
ctx->v->print_stream(value, size);
+ if (size == 0)
+ ctx->header_idx++;
}
void doveadm_print_sticky(const char *key, const char *value)
More information about the dovecot-cvs
mailing list