Commit ac5cb40f ac5cb40ffe67ee61ecfd410d81657680a8d2e2c4 by Sergey Poznyakoff

Added mailbox_destroy_folder() to make mailbox_set_stream() work

as expected. This is a kludge and should be cleared later.
1 parent 9c72157b
......@@ -477,3 +477,9 @@ mailbox_get_url (mailbox_t mbox, url_t *purl)
*purl = mbox->url;
return 0;
}
void
mailbox_destroy_folder (mailbox_t mbox)
{
folder_destroy (&mbox->folder);
}
......