Mercurial > dovecot > core-2.2
changeset 2254:4b24a962ef89 HEAD
fix, _read() sometimes returned -2 too early
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 29 Jun 2004 16:10:52 +0300 |
parents | 509923906599 |
children | dfb728afc8a3 |
files | src/lib-storage/index/mbox/istream-raw-mbox.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/istream-raw-mbox.c Tue Jun 29 15:10:36 2004 +0300 +++ b/src/lib-storage/index/mbox/istream-raw-mbox.c Tue Jun 29 16:10:52 2004 +0300 @@ -457,7 +457,6 @@ i_stream_seek(stream, rstream->from_offset); i_stream_seek(rstream->input, rstream->from_offset); - rstream->input_peak_offset = 0; rstream->eom = FALSE; rstream->eof = FALSE; } @@ -471,7 +470,6 @@ rstream->corrupted = FALSE; rstream->eom = FALSE; rstream->eof = FALSE; - rstream->input_peak_offset = 0; if (rstream->mail_size != (uoff_t)-1 && rstream->hdr_offset + rstream->mail_size == offset) {