dovecot-2.2: i_stream_create_error() should have set eof=TRUE im...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Feb 3 21:53:48 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/42e152c01ace
changeset: 15720:42e152c01ace
user: Timo Sirainen <tss at iki.fi>
date: Sun Feb 03 21:52:48 2013 +0200
description:
i_stream_create_error() should have set eof=TRUE immediately.
diffstat:
src/lib/istream.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 01d238b13719 -r 42e152c01ace src/lib/istream.c
--- a/src/lib/istream.c Sun Feb 03 21:52:19 2013 +0200
+++ b/src/lib/istream.c Sun Feb 03 21:52:48 2013 +0200
@@ -707,6 +707,7 @@
stream->istream.readable_fd = FALSE;
stream->istream.blocking = TRUE;
stream->istream.seekable = TRUE;
+ stream->istream.eof = TRUE;
stream->istream.stream_errno = stream_errno;
i_stream_create(stream, NULL, -1);
i_stream_set_name(&stream->istream, "(error)");
More information about the dovecot-cvs
mailing list