Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2956:cd257e96a370 HEAD
Added assert
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 07 Dec 2004 23:32:09 +0200 |
parents | d5ee1bbd15f0 |
children | 2f0fd2e7ab89 |
files | src/lib-index/mail-index.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index.c Tue Dec 07 22:26:00 2004 +0200 +++ b/src/lib-index/mail-index.c Tue Dec 07 23:32:09 2004 +0200 @@ -646,6 +646,7 @@ if (sync_to_index) { /* make sure log file offsets get copied. most of the other fields should stay the same. */ + i_assert(hdr.messages_count == (*map)->hdr.messages_count); (*map)->hdr = hdr; }