diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-12-09 11:17:04 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-12-09 11:17:04 +0000 |
commit | d06304a8e1e771a08ca2fdf33d5f768ba9712620 (patch) | |
tree | 30855533b0c65c4cfc58886e86adb2f00adf295b /browser.c | |
parent | c3da5f701a55beffe29d1723b4fda8705be558b7 (diff) |
Tommi Komulainen's multiple IMAP usernames patch.
Diffstat (limited to 'browser.c')
-rw-r--r-- | browser.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -808,16 +808,15 @@ void _mutt_select_file (char *f, size_t flen, int buffy, else { char msg[LONG_STRING]; - char* mbox; + IMAP_MBOX mx; int nentry = menu->current; - imap_parse_path (state.entry[nentry].name, NULL, 0, NULL, - NULL, &mbox); + imap_parse_path (state.entry[nentry].name, &mx); snprintf (msg, sizeof (msg), _("Really delete mailbox \"%s\"?"), - mbox); + mx.mbox); if (mutt_yesorno (msg, M_NO) == M_YES) { - if (!imap_delete_mailbox (Context, mbox)) + if (!imap_delete_mailbox (Context, mx.mbox)) { /* free the mailbox from the browser */ safe_free ((void **) &((state.entry)[nentry].name)); |