[dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.13, 1.14
cras at procontrol.fi
cras at procontrol.fi
Tue Jun 29 16:10:55 EEST 2004
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv7606/lib-storage/index/mbox
Modified Files:
istream-raw-mbox.c
Log Message:
fix, _read() sometimes returned -2 too early
Index: istream-raw-mbox.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- istream-raw-mbox.c 19 Jun 2004 22:06:52 -0000 1.13
+++ istream-raw-mbox.c 29 Jun 2004 13:10:52 -0000 1.14
@@ -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) {
More information about the dovecot-cvs
mailing list