[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.31, 1.32

cras at procontrol.fi cras at procontrol.fi
Fri Jul 2 13:33:50 EEST 2004


Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv15397/src/lib-index

Modified Files:
	mail-index-sync-update.c 
Log Message:
assert crashfix



Index: mail-index-sync-update.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-sync-update.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- mail-index-sync-update.c	28 Jun 2004 17:35:27 -0000	1.31
+++ mail-index-sync-update.c	2 Jul 2004 10:33:48 -0000	1.32
@@ -292,6 +292,7 @@
 
 	map->hdr_copy = hdr;
 	map->hdr = &map->hdr_copy;
+	map->records_count = map->hdr->messages_count;
 
 	i_assert(map->mmap_size >= size);
 	return 0;



More information about the dovecot-cvs mailing list