dovecot-2.2: dsync: Fixes to printing remote's stderr output.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 8 10:57:38 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/f0c11f532e3b
changeset: 15596:f0c11f532e3b
user: Timo Sirainen <tss at iki.fi>
date: Tue Jan 08 10:57:34 2013 +0200
description:
dsync: Fixes to printing remote's stderr output.
diffstat:
src/doveadm/dsync/doveadm-dsync.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 6ff774dc0b6e -r f0c11f532e3b src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c Tue Jan 08 10:25:21 2013 +0200
+++ b/src/doveadm/dsync/doveadm-dsync.c Tue Jan 08 10:57:34 2013 +0200
@@ -59,9 +59,9 @@
const char *line;
while ((line = i_stream_read_next_line(ctx->err_stream)) != NULL)
- i_error("remote: %s", line);
+ fprintf(stderr, "%s\n", line);
- if (ctx->err_stream->eof)
+ if (ctx->err_stream->eof && ctx->io_err != NULL)
io_remove(&ctx->io_err);
}
More information about the dovecot-cvs
mailing list