Show
Ignore:
Timestamp:
2007-04-02 14:33:29 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Fix a segfault in the new mboxcache hcache lookup.
idata may not have an associated context, so the cache path must use
the account info instead. For harmony with the other hcache callers,
make them all canonify the path the same way with imap_hcache_open.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/message.c

    r5044 r5046  
    123123#if USE_HCACHE 
    124124  if (!msgbegin) 
    125     hc = mutt_hcache_open (HeaderCache, ctx->path); 
     125    hc = imap_hcache_open (idata, ctx->path); 
    126126 
    127127  if (hc)