Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7300:f0c7e9198313 HEAD
Added support for seeking forwards in the stream. Also mark the stream as
non-seekable since seeking backwards doesn't work.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 28 Feb 2008 06:28:54 +0200 |
parents | 4e1161bad6ec |
children | c75b2e1fa5a2 |
files | src/lib/istream-crlf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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)); }