Changeset 5121:29faa739ed01
- Timestamp:
- 2007-04-11 07:37:53 (21 months ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Do not attempt to parse idata->ctx->path if an explicit path is given
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5118
|
r5121
|
|
| 84 | 84 | char mbox[LONG_STRING]; |
| 85 | 85 | |
| 86 | | if (imap_parse_path (idata->ctx->path, &mx) < 0) |
| 87 | | return NULL; |
| 88 | | |
| 89 | 86 | if (path) |
| 90 | 87 | imap_cachepath (idata, path, mbox, sizeof (mbox)); |
| 91 | 88 | else |
| 92 | 89 | { |
| | 90 | if (imap_parse_path (idata->ctx->path, &mx) < 0) |
| | 91 | return NULL; |
| | 92 | |
| 93 | 93 | imap_cachepath (idata, mx.mbox, mbox, sizeof (mbox)); |
| 94 | 94 | FREE (&mx.mbox); |