[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.161,1.162

cras at dovecot.org cras at dovecot.org
Sun Nov 7 17:15:21 EET 2004


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

Modified Files:
	mail-index.c 
Log Message:
Removed assert, it's allowed to happen



Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- mail-index.c	6 Nov 2004 17:20:19 -0000	1.161
+++ mail-index.c	7 Nov 2004 15:15:18 -0000	1.162
@@ -611,8 +611,6 @@
 		}
 	}
 
-	i_assert(index->lock_type != F_WRLCK);
-
 	if (index->map != NULL && index->map->refcount > 1) {
 		/* this map is already used by some views and they may have
 		   pointers into it. leave them and create a new mapping. */



More information about the dovecot-cvs mailing list