changeset 2260:0e7534c53679 HEAD

assert crashfix
author Timo Sirainen <tss@iki.fi>
date Fri, 02 Jul 2004 13:33:48 +0300
parents 07c8813877cc
children ba4f6d7b5a58
files src/lib-index/mail-index-sync-update.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-sync-update.c	Wed Jun 30 15:18:35 2004 +0300
+++ b/src/lib-index/mail-index-sync-update.c	Fri Jul 02 13:33:48 2004 +0300
@@ -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;