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 /imap | |
parent | f7162dc5f4148fd39d62d73c18be3ebe72b889b4 (diff) |
Add hcache path name hook
Diffstat (limited to 'imap')
-rw-r--r-- | imap/imap.c | 2 | ||||
-rw-r--r-- | imap/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/imap/imap.c b/imap/imap.c index 03d7298f..4a93872d 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1597,7 +1597,7 @@ IMAP_STATUS* imap_mboxcache_get (IMAP_DATA* idata, const char* mbox, int create) mutt_account_tourl (&idata->conn->account, &url); url.path = (char*)mbox; url_ciss_tostring (&url, urlstr, sizeof (urlstr), 0); - hc = mutt_hcache_open (HeaderCache, urlstr); + hc = mutt_hcache_open (HeaderCache, urlstr, NULL); if (hc) { uidvalidity = mutt_hcache_fetch_raw (hc, "/UIDVALIDITY", imap_hcache_keylen); diff --git a/imap/util.c b/imap/util.c index 2a278704..7fab623c 100644 --- a/imap/util.c +++ b/imap/util.c @@ -85,7 +85,7 @@ int imap_hcache_open (IMAP_DATA* idata) url_ciss_tostring (&url, cachepath, sizeof (cachepath), 0); FREE (&mx.mbox); - idata->hcache = mutt_hcache_open (HeaderCache, cachepath); + idata->hcache = mutt_hcache_open (HeaderCache, cachepath, NULL); return idata->hcache != NULL ? 0 : -1; } |