From b6ebbc94ac45719118016a9575cef0a37017cc96 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 29 Jun 2004 16:10:52 +0300 Subject: [PATCH] fix, _read() sometimes returned -2 too early --HG-- branch : HEAD --- src/lib-storage/index/mbox/istream-raw-mbox.c | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.47.3