[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.176, 1.177

tss at dovecot.org tss at dovecot.org
Fri Mar 30 21:28:38 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv29101/mbox

Modified Files:
	mbox-storage.c 
Log Message:
Allow index_mailbox.is_recent() to be NULL if it's not needed.



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- mbox-storage.c	30 Mar 2007 14:12:52 -0000	1.176
+++ mbox-storage.c	30 Mar 2007 18:28:36 -0000	1.177
@@ -485,12 +485,6 @@
 	return 0;
 }
 
-static bool mbox_mail_is_recent(struct index_mailbox *ibox __attr_unused__,
-				uint32_t uid __attr_unused__)
-{
-	return FALSE;
-}
-
 static bool want_memory_indexes(struct mbox_storage *storage, const char *path)
 {
 	const char *env;
@@ -536,7 +530,6 @@
 	mbox->ibox.box.pool = pool;
 	mbox->ibox.storage = &storage->storage;
 	mbox->ibox.mail_vfuncs = &mbox_mail_vfuncs;
-	mbox->ibox.is_recent = mbox_mail_is_recent;
 	mbox->ibox.index = index;
 
 	mbox->storage = storage;



More information about the dovecot-cvs mailing list