Ticket #2942: hc-update.diff
| File hc-update.diff, 0.8 kB (added by pdmef, 6 months ago) |
|---|
-
imap/imap.c
diff --git a/imap/imap.c b/imap/imap.c
a b 1155 1155 { 1156 1156 h = ctx->hdrs[n]; 1157 1157 1158 #if USE_HCACHE 1159 imap_hcache_put (idata, h); 1160 #endif 1161 1158 1162 if (h->deleted) 1159 1163 { 1160 1164 imap_cache_del (idata, h); -
mh.c
diff --git a/mh.c b/mh.c
a b 1648 1648 if (!ctx->quiet) 1649 1649 mutt_progress_update (&progress, i, -1); 1650 1650 1651 #if USE_HCACHE 1652 if (ctx->magic == M_MAILDIR) 1653 mutt_hcache_store (hc, ctx->hdrs[i]->path + 3, ctx->hdrs[i], 1654 0, &maildir_hcache_keylen); 1655 else if (ctx->magic == M_MH) 1656 mutt_hcache_store (hc, ctx->hdrs[i]->path, ctx->hdrs[i], 0, strlen); 1657 #endif 1658 1651 1659 if (ctx->hdrs[i]->deleted 1652 1660 && (ctx->magic != M_MAILDIR || !option (OPTMAILDIRTRASH))) 1653 1661 {
