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) ...@@ -477,3 +477,9 @@ mailbox_get_url (mailbox_t mbox, url_t *purl)
477 *purl = mbox->url; 477 *purl = mbox->url;
478 return 0; 478 return 0;
479 } 479 }
480
481 void
482 mailbox_destroy_folder (mailbox_t mbox)
483 {
484 folder_destroy (&mbox->folder);
485 }
......