[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-expunge.c,1.29,1.30

cras at procontrol.fi cras at procontrol.fi
Wed Sep 3 02:33:36 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory danu:/tmp/cvs-serv25812/lib-storage/index/mbox

Modified Files:
	mbox-expunge.c 
Log Message:
mbox reading is kind of working again. Just don't try rewriting or expunging
:) Changing headers are also hidden from clients so mbox messages are finally
seen immutable as required by IMAP.



Index: mbox-expunge.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-expunge.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- mbox-expunge.c	26 Jul 2003 16:33:22 -0000	1.29
+++ mbox-expunge.c	2 Sep 2003 22:33:34 -0000	1.30
@@ -123,6 +123,7 @@
 static int get_from_offset(struct mail_index *index,
 			   struct mail_index_record *rec, uoff_t *offset_r)
 {
+#if 0
 	uoff_t offset, hdr_size, body_size;
 
 	if (!mbox_mail_get_location(index, rec, &offset,
@@ -131,6 +132,8 @@
 
 	*offset_r = offset + hdr_size + body_size;
 	return TRUE;
+#endif
+	abort();
 }
 
 struct mail *mbox_storage_expunge_fetch_next(struct mail_expunge_context *_ctx)



More information about the dovecot-cvs mailing list