summaryrefslogtreecommitdiffstats
path: root/browser.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-12-09 11:17:04 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-12-09 11:17:04 +0000
commitd06304a8e1e771a08ca2fdf33d5f768ba9712620 (patch)
tree30855533b0c65c4cfc58886e86adb2f00adf295b /browser.c
parentc3da5f701a55beffe29d1723b4fda8705be558b7 (diff)
Tommi Komulainen's multiple IMAP usernames patch.
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/browser.c b/browser.c
index 0973ebae..0f4f04ce 100644
--- a/browser.c
+++ b/browser.c
@@ -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));