[dovecot-cvs] dovecot/src/lib-storage/index/cydir cydir-storage.c, 1.8, 1.9

tss at dovecot.org tss at dovecot.org
Fri Mar 30 21:45:23 EEST 2007


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

Modified Files:
	cydir-storage.c 
Log Message:
cleaned up mailbox closing code



Index: cydir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/cydir/cydir-storage.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cydir-storage.c	30 Mar 2007 18:41:05 -0000	1.8
+++ cydir-storage.c	30 Mar 2007 18:45:21 -0000	1.9
@@ -361,12 +361,6 @@
 	return cydir_delete_nonrecursive(list, src, name);
 }
 
-static int cydir_storage_close(struct mailbox *box)
-{
-        index_storage_mailbox_free(box);
-	return 0;
-}
-
 static void cydir_notify_changes(struct mailbox *box)
 {
 	struct cydir_mailbox *mbox = (struct cydir_mailbox *)box;
@@ -454,7 +448,7 @@
 	{
 		index_storage_is_readonly,
 		index_storage_allow_new_keywords,
-		cydir_storage_close,
+		index_storage_mailbox_close,
 		index_storage_get_status,
 		cydir_storage_sync_init,
 		index_mailbox_sync_next,



More information about the dovecot-cvs mailing list