]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
crashfix
authorTimo Sirainen <tss@iki.fi>
Sun, 17 Aug 2003 00:00:13 +0000 (03:00 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 17 Aug 2003 00:00:13 +0000 (03:00 +0300)
--HG--
branch : HEAD

src/lib-index/mail-index-open.c

index 55cee26d2a78afc4e6e0e175fcdb94043bb67109..7af82bb2c1d962154329a7ca7a4c53c6cb8bf7a7 100644 (file)
@@ -318,6 +318,9 @@ static int mail_index_open_index(struct mail_index *index,
                mail_index_init_header(&hdr);
                if (!mail_index_init_file(index, &hdr))
                        return FALSE;
+
+               if (!mail_index_mmap_update(index))
+                       return FALSE;
        }
 
        if (index->lock_type == MAIL_LOCK_SHARED) {