Changeset 5122:7c5c4e11cd38

Show
Ignore:
Timestamp:
2007-04-11 09:25:56 (21 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Make imap_hcache_open robust against missing idata->ctx

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5120 r5122  
    1 2007-04-10 19:28 -0700  Brendan Cully  <brendan@kublai.com>  (d12143e1a610) 
     12007-04-11 07:37 -0700  Brendan Cully  <brendan@kublai.com>  (29faa739ed01) 
     2 
     3        * imap/util.c: Do not attempt to parse idata->ctx->path if an explicit 
     4        path is given 
     5 
     62007-04-10 20:22 -0700  Brendan Cully  <brendan@kublai.com>  (429fb67340cd) 
     7 
     8        * UPDATING, imap/imap.c, imap/imap_private.h, imap/message.c, 
     9        init.h, mutt.h: Add $message_cache_clean option to prune message 
     10        cache on sync 
    211 
    312        * hcache.c: Try to unlink old header cache if open fails 
  • imap/util.c

    r5121 r5122  
    8888  else 
    8989  { 
    90     if (imap_parse_path (idata->ctx->path, &mx) < 0) 
     90    if (!idata->ctx || imap_parse_path (idata->ctx->path, &mx) < 0) 
    9191      return NULL; 
    9292