]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
assert crashfix
authorTimo Sirainen <tss@iki.fi>
Fri, 2 Jul 2004 10:33:48 +0000 (13:33 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 2 Jul 2004 10:33:48 +0000 (13:33 +0300)
--HG--
branch : HEAD

src/lib-index/mail-index-sync-update.c

index a4fb349f4d40d00fa8f343d3c12cac674a5d3e1f..3f9443c6732e1363fa320f1d6897dc86b9ec9c92 100644 (file)
@@ -292,6 +292,7 @@ static int mail_index_grow(struct mail_index *index, struct mail_index_map *map,
 
        map->hdr_copy = hdr;
        map->hdr = &map->hdr_copy;
+       map->records_count = map->hdr->messages_count;
 
        i_assert(map->mmap_size >= size);
        return 0;