dovecot-2.2: iostream-rawlog: Buffered output kept logging the s...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 28 02:35:44 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/9bff748f3437
changeset: 15423:9bff748f3437
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 28 02:35:15 2012 +0200
description:
iostream-rawlog: Buffered output kept logging the same data over and over again.
diffstat:
src/lib/iostream-rawlog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r aa8f2e0fcb21 -r 9bff748f3437 src/lib/iostream-rawlog.c
--- a/src/lib/iostream-rawlog.c Wed Nov 28 01:52:32 2012 +0200
+++ b/src/lib/iostream-rawlog.c Wed Nov 28 02:35:15 2012 +0200
@@ -123,6 +123,7 @@
if (rawlog_write(rstream, rstream->buffer->data,
rstream->buffer->used) < 0)
break;
+ buffer_set_used_size(rstream->buffer, 0);
}
if (rawlog_write(rstream, data, pos) < 0)
break;
More information about the dovecot-cvs
mailing list