[dovecot-cvs] dovecot/src/lib-storage/index/cydir cydir-storage.c, 1.5, 1.6

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


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

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



Index: cydir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/cydir/cydir-storage.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cydir-storage.c	30 Mar 2007 14:12:48 -0000	1.5
+++ cydir-storage.c	30 Mar 2007 18:28:35 -0000	1.6
@@ -175,12 +175,6 @@
 	return 0;
 }
 
-static bool cydir_is_recent(struct index_mailbox *ibox __attr_unused__,
-			    uint32_t uid __attr_unused__)
-{
-	return FALSE;
-}
-
 static struct mailbox *
 cydir_open(struct cydir_storage *storage, const char *name,
 	   enum mailbox_open_flags flags)
@@ -209,7 +203,6 @@
 	mbox->ibox.box.pool = pool;
 	mbox->ibox.storage = &storage->storage;
 	mbox->ibox.mail_vfuncs = &cydir_mail_vfuncs;
-	mbox->ibox.is_recent = cydir_is_recent;
 	mbox->ibox.index = index;
 
 	mbox->storage = storage;



More information about the dovecot-cvs mailing list