dovecot-1.1: Added support for seeking forwards in the stream. A...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 28 06:26:16 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/f0c7e9198313
changeset: 7300:f0c7e9198313
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 28 06:28:54 2008 +0200
description:
Added support for seeking forwards in the stream. Also mark the stream as
non-seekable since seeking backwards doesn't work.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/istream-crlf.c |    2 +-

diffs (12 lines):

diff -r 4e1161bad6ec -r f0c7e9198313 src/lib/istream-crlf.c
--- a/src/lib/istream-crlf.c	Wed Feb 27 21:54:04 2008 +0200
+++ b/src/lib/istream-crlf.c	Thu Feb 28 06:28:54 2008 +0200
@@ -184,7 +184,7 @@ i_stream_create_crlf_full(struct istream
 	cstream->istream.stat = i_stream_crlf_stat;
 
 	cstream->istream.istream.blocking = input->blocking;
-	cstream->istream.istream.seekable = input->seekable;
+	cstream->istream.istream.seekable = FALSE;
 	return i_stream_create(&cstream->istream, input,
 			       i_stream_get_fd(input));
 }


More information about the dovecot-cvs mailing list