[dovecot-cvs] dovecot/src/lib-storage mail-save.c,1.4,1.5
cras at procontrol.fi
cras at procontrol.fi
Sun Nov 9 20:26:28 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox istream-mbox.c,1.7,1.8
mbox-append.c,1.45,1.46 mbox-index.c,1.84,1.85
mbox-index.h,1.32,1.33 mbox-open.c,1.22,1.23
mbox-rewrite.c,1.68,1.69 mbox-sync-full.c,1.21,1.22
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-expunge.c,1.32,1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv3937/lib-storage
Modified Files:
mail-save.c
Log Message:
istream rewrite. instead of directly setting any limits to stream, you now
have to use i_stream_create_limit() to existing stream. this should make the
istreams much easier to create and understand how they work.
Index: mail-save.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-save.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mail-save.c 29 Oct 2003 13:53:12 -0000 1.4
+++ mail-save.c 9 Nov 2003 18:26:25 -0000 1.5
@@ -167,8 +167,7 @@
errno = input->stream_errno;
if (errno == 0) {
/* EOF */
- if (input->v_offset != input->v_limit &&
- input->v_limit != 0) {
+ if (input->eof) {
/* too early */
mail_storage_set_error(storage,
"Unexpected EOF");
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox istream-mbox.c,1.7,1.8
mbox-append.c,1.45,1.46 mbox-index.c,1.84,1.85
mbox-index.h,1.32,1.33 mbox-open.c,1.22,1.23
mbox-rewrite.c,1.68,1.69 mbox-sync-full.c,1.21,1.22
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox mbox-expunge.c,1.32,1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list