Changeset 5046:eabef30c9344 for imap/util.c
- Timestamp:
- 2007-04-02 14:33:29 (22 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
imap/util.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
imap/util.c
r4973 r5046 67 67 } 68 68 69 #ifdef USE_HCACHE 70 void* imap_hcache_open (IMAP_DATA* idata, const char* path) 71 { 72 IMAP_MBOX mx; 73 ciss_url_t url; 74 char cachepath[LONG_STRING]; 75 76 if (imap_parse_path (path, &mx) < 0) 77 return NULL; 78 79 mutt_account_tourl (&idata->conn->account, &url); 80 url.path = mx.mbox; 81 url_ciss_tostring (&url, cachepath, sizeof (cachepath), 0); 82 FREE (&mx.mbox); 83 84 return mutt_hcache_open (HeaderCache, cachepath); 85 } 86 #endif 87 69 88 /* imap_parse_path: given an IMAP mailbox name, return host, port 70 89 * and a path IMAP servers will recognise.
