Commit 2123ea1f 2123ea1f223d9e26077ccd125863703fcc19ec61 by Alain Magloire

* include/mailutils/mailbox.h: Remove prototype

	mailbox_destroy_folder().
	* mailbox/mailbox.c (mailbox_destroy_folder): Remove.
	* comsat/comsat.c (notify_user): remove mailbox_destroy_folder().
1 parent f5492813
2001-11-17 Alain Magloire
* include/mailutils/mailbox.h: Remove prototype
mailbox_destroy_folder().
* mailbox/mailbox.c (mailbox_destroy_folder): Remove.
* comsat/comsat.c (notify_user): remove mailbox_destroy_folder().
2001-11-17 Alain Magloire
* mailbox/folder_imap.c (authenticate_imap_login): Pass the
url in ticket_pop.
* mailbox/mbx_pop.c (pop_get_user): Pass the url in ticket_pop()
......
......@@ -486,7 +486,6 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
}
stream_write (stream, blurb, size, 0, &count);
mailbox_destroy_folder (tmp);
mailbox_set_stream (tmp, stream);
mailbox_messages_count (tmp, &count);
mailbox_get_message (tmp, 1, &msg);
......
......@@ -54,7 +54,6 @@ extern int mailbox_open __P ((mailbox_t, int flag));
extern int mailbox_close __P ((mailbox_t));
extern int mailbox_get_folder __P ((mailbox_t, folder_t *));
extern int mailbox_set_folder __P ((mailbox_t, folder_t));
extern void mailbox_destroy_folder __P ((mailbox_t mbox));
extern int mailbox_uidvalidity __P ((mailbox_t, unsigned long *));
extern int mailbox_uidnext __P ((mailbox_t, size_t *));
......
......@@ -429,9 +429,3 @@ mailbox_set_folder (mailbox_t mbox, folder_t folder)
mbox->folder = folder;
return 0;
}
void
mailbox_destroy_folder (mailbox_t mbox)
{
folder_destroy (&mbox->folder);
}
......