From: Timo Sirainen Date: Tue, 29 Jun 2004 13:10:52 +0000 (+0300) Subject: fix, _read() sometimes returned -2 too early X-Git-Tag: 1.1.alpha1~3852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ebbc94ac45719118016a9575cef0a37017cc96;p=thirdparty%2Fdovecot%2Fcore.git fix, _read() sometimes returned -2 too early --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/mbox/istream-raw-mbox.c b/src/lib-storage/index/mbox/istream-raw-mbox.c index 69ca936839..e3236b40a3 100644 --- a/src/lib-storage/index/mbox/istream-raw-mbox.c +++ b/src/lib-storage/index/mbox/istream-raw-mbox.c @@ -457,7 +457,6 @@ void istream_raw_mbox_next(struct istream *stream, uoff_t body_size) 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 @@ int istream_raw_mbox_seek(struct istream *stream, uoff_t offset) 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) {