[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,1.40,1.41

cras at procontrol.fi cras at procontrol.fi
Thu Feb 20 12:52:13 EET 2003


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

Modified Files:
	mbox-storage.c 
Log Message:
outlook-idle workaround fixes.



Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- mbox-storage.c	19 Feb 2003 19:55:27 -0000	1.40
+++ mbox-storage.c	20 Feb 2003 10:52:11 -0000	1.41
@@ -628,8 +628,9 @@
 	ibox->autosync_type = sync_type;
 	ibox->min_newmail_notify_interval = min_newmail_notify_interval;
 
-        index_mailbox_check_remove_all(ibox);
-	index_mailbox_check_add(ibox, ibox->index->mailbox_path);
+	index_mailbox_check_remove_all(ibox);
+	if (sync_type != MAILBOX_SYNC_NONE)
+		index_mailbox_check_add(ibox, ibox->index->mailbox_path);
 }
 
 struct mail_storage mbox_storage = {




More information about the dovecot-cvs mailing list