dovecot: Last change broke cache file creation completely.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Nov 2 16:33:48 EET 2007
details: http://hg.dovecot.org/dovecot/rev/9ffa528c257c
changeset: 6655:9ffa528c257c
user: Timo Sirainen <tss at iki.fi>
date: Fri Nov 02 16:32:31 2007 +0200
description:
Last change broke cache file creation completely.
diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
src/lib-index/mail-cache-transaction.c | 7 +++----
diffs (17 lines):
diff -r ac0e7f713d70 -r 9ffa528c257c src/lib-index/mail-cache-transaction.c
--- 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 @@ void mail_cache_add(struct mail_cache_tr
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];
More information about the dovecot-cvs
mailing list