Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5319:0fc29ba873f1 HEAD
Error handling crashfix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 15 Mar 2007 03:50:35 +0200 |
parents | 3a3906587641 |
children | 2d53914a4520 |
files | src/lib-index/mail-cache.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-cache.c Thu Mar 15 03:47:10 2007 +0200 +++ b/src/lib-index/mail-cache.c Thu Mar 15 03:50:35 2007 +0200 @@ -215,6 +215,7 @@ if (offset == 0 && !mail_cache_verify_header(cache)) { cache->need_compress_file_seq = + !MAIL_CACHE_IS_UNUSABLE(cache) && cache->hdr->file_seq != 0 ? cache->hdr->file_seq : (uint32_t)-1; return -1;