[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.96, 1.97

tss at dovecot.org tss at dovecot.org
Wed Dec 20 03:16:56 UTC 2006


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

Modified Files:
	index-storage.c 
Log Message:
Fix



Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- index-storage.c	17 Dec 2006 16:35:32 -0000	1.96
+++ index-storage.c	20 Dec 2006 03:16:54 -0000	1.97
@@ -328,7 +328,7 @@
 		index_flags |= MAIL_INDEX_OPEN_FLAG_FSYNC_DISABLE;
 	}
 
-	if (ibox->move_to_memory)
+	if (!ibox->move_to_memory)
 		index_flags |= MAIL_INDEX_OPEN_FLAG_CREATE;
 	if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0)
 		index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE;



More information about the dovecot-cvs mailing list