diff options
author | Brendan Cully <brendan@kublai.com> | 2007-04-10 16:40:53 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2007-04-10 16:40:53 -0700 |
commit | 47a4a90b8eaddd7b0798f58940d60d5fa940cea3 (patch) | |
tree | 6580d658f0d2b006ed7d273d77894f221e492d2a /mh.c | |
parent | f7162dc5f4148fd39d62d73c18be3ebe72b889b4 (diff) |
Add hcache path name hook
Diffstat (limited to 'mh.c')
-rw-r--r-- | mh.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |