[dovecot-cvs] dovecot/src/lib-index mail-index-sync.c,1.68,1.69
cras at dovecot.org
cras at dovecot.org
Wed Feb 8 19:29:08 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv16007/src/lib-index
Modified Files:
mail-index-sync.c
Log Message:
Ignore if cache compression fails.
Index: mail-index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- mail-index-sync.c 14 Jan 2006 18:49:21 -0000 1.68
+++ mail-index-sync.c 8 Feb 2006 17:29:05 -0000 1.69
@@ -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)
More information about the dovecot-cvs
mailing list