summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2007-04-10 16:40:53 -0700
committerBrendan Cully <brendan@kublai.com>2007-04-10 16:40:53 -0700
commit47a4a90b8eaddd7b0798f58940d60d5fa940cea3 (patch)
tree6580d658f0d2b006ed7d273d77894f221e492d2a /mh.c
parentf7162dc5f4148fd39d62d73c18be3ebe72b889b4 (diff)
Add hcache path name hook
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mh.c b/mh.c
index b4e42c27..c12737ac 100644
--- a/mh.c
+++ b/mh.c
@@ -795,7 +795,7 @@ static int maildir_parse_dir (CONTEXT * ctx, struct maildir ***last,
#ifdef USE_HCACHE
if (ctx && ctx->magic == M_MH)
- hc = mutt_hcache_open (HeaderCache, ctx->path);
+ hc = mutt_hcache_open (HeaderCache, ctx->path, NULL);
#endif
while ((de = readdir (dirp)) != NULL)
@@ -998,7 +998,7 @@ void maildir_delayed_parsing (CONTEXT * ctx, struct maildir *md,
struct stat lastchanged;
int ret;
- hc = mutt_hcache_open (HeaderCache, ctx->path);
+ hc = mutt_hcache_open (HeaderCache, ctx->path, NULL);
#endif
for (p = md, count = 0; p; p = p->next, count++)
@@ -1586,7 +1586,7 @@ int mh_sync_mailbox (CONTEXT * ctx, int *index_hint)
#if USE_HCACHE
if (ctx->magic == M_MAILDIR || ctx->magic == M_MH)
- hc = mutt_hcache_open(HeaderCache, ctx->path);
+ hc = mutt_hcache_open(HeaderCache, ctx->path, NULL);
#endif /* USE_HCACHE */
snprintf (msgbuf, sizeof (msgbuf), _("Writing %s..."), ctx->path);