Changeset 5122:7c5c4e11cd38
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5120
|
r5122
|
|
| 1 | | 2007-04-10 19:28 -0700 Brendan Cully <brendan@kublai.com> (d12143e1a610) |
| | 1 | 2007-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 | |
| | 6 | 2007-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 |
| 2 | 11 | |
| 3 | 12 | * hcache.c: Try to unlink old header cache if open fails |
-
|
r5121
|
r5122
|
|
| 88 | 88 | else |
| 89 | 89 | { |
| 90 | | if (imap_parse_path (idata->ctx->path, &mx) < 0) |
| | 90 | if (!idata->ctx || imap_parse_path (idata->ctx->path, &mx) < 0) |
| 91 | 91 | return NULL; |
| 92 | 92 | |