dovecot-2.2: i_stream_sync() for file should reset eof flag imme...

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 11 00:29:48 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/45c39743f406
changeset: 15751:45c39743f406
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 11 00:29:40 2013 +0200
description:
i_stream_sync() for file should reset eof flag immediately.

diffstat:

 src/lib/istream-file.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 5a1fc3723371 -r 45c39743f406 src/lib/istream-file.c
--- a/src/lib/istream-file.c	Mon Feb 11 00:28:28 2013 +0200
+++ b/src/lib/istream-file.c	Mon Feb 11 00:29:40 2013 +0200
@@ -142,6 +142,7 @@
 	}
 
 	stream->skip = stream->pos = 0;
+	stream->istream.eof = FALSE;
 }
 
 static int


More information about the dovecot-cvs mailing list