Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3998:9d1bb677c5ca HEAD
Ignore if cache compression fails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 08 Feb 2006 19:29:05 +0200 |
parents | e7df415a97f1 |
children | f1e29736e60d |
files | src/lib-index/mail-index-sync.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index-sync.c Wed Feb 08 12:19:38 2006 +0200 +++ b/src/lib-index/mail-index-sync.c Wed Feb 08 19:29:05 2006 +0200 @@ -664,9 +664,8 @@ } if (ret == 0 && mail_cache_need_compress(index->cache)) { - if (mail_cache_compress(index->cache, ctx->view) < 0) - ret = -1; - else { + /* if cache compression fails, we don't really care */ + if (mail_cache_compress(index->cache, ctx->view) == 0) { /* cache_offsets have changed, sync them */ if (mail_index_sync_set_log_view(ctx->view, seq, offset) < 0)