Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6655:9ffa528c257c HEAD
Last change broke cache file creation completely.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 02 Nov 2007 16:32:31 +0200 |
parents | ac0e7f713d70 |
children | b8f2fade7aeb |
files | src/lib-index/mail-cache-transaction.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-cache-transaction.c Mon Oct 29 22:59:49 2007 +0200 +++ b/src/lib-index/mail-cache-transaction.c Fri Nov 02 16:32:31 2007 +0200 @@ -785,10 +785,9 @@ if (ctx->cache_file_seq == 0) { if (!ctx->cache->opened) (void)mail_cache_open_and_verify(ctx->cache); - if (MAIL_CACHE_IS_UNUSABLE(ctx->cache)) - return; - ctx->cache_file_seq = ctx->cache->hdr->file_seq; + if (!MAIL_CACHE_IS_UNUSABLE(ctx->cache)) + ctx->cache_file_seq = ctx->cache->hdr->file_seq; } file_field = ctx->cache->field_file_map[field_idx];