[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,1.16,1.17

cras at procontrol.fi cras at procontrol.fi
Tue Nov 12 07:27:32 EET 2002


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

Modified Files:
	mbox-storage.c 
Log Message:
mailbox_check_interval setting: Dovecot can notify client of new mail in
selected mailbox soon after it's received. This setting specifies the
minimum interval in seconds between new mail notifications to client -
internally they may be checked more or less often. Setting this to 0
disables the checking.



Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mbox-storage.c	2 Nov 2002 20:10:21 -0000	1.16
+++ mbox-storage.c	12 Nov 2002 05:27:30 -0000	1.17
@@ -171,8 +171,10 @@
 
 	ibox = index_storage_init(storage, &mbox_mailbox, index,
 				  name, readonly, fast);
-	if (ibox != NULL)
+	if (ibox != NULL) {
 		ibox->expunge_locked = mbox_expunge_locked;
+		index_mailbox_check_add(ibox, index->mbox_path);
+	}
 	return (Mailbox *) ibox;
 }
 




More information about the dovecot-cvs mailing list