Commit 2ccbb17f 2ccbb17fb7a2eca1bdd4614b9c14b320fc8121a9 by Sergey Poznyakoff

Removed mailbox_destroy_folder kludge

1 parent 0634116c
......@@ -447,7 +447,6 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
return;
}
mailbox_destroy_folder (mbox);
if ((status = mailbox_get_stream (mbox, &stream)))
{
syslog (LOG_ERR, "can't get stream for mailbox %s: %s",
......
......@@ -104,7 +104,6 @@ imap4d_append0 (mailbox_t mbox, int flags, char *text)
stream_write (stream, date, strlen (date), 0, &len);
stream_write (stream, text, strlen (text), len, &len);
mailbox_destroy_folder (tmp);
mailbox_set_stream (tmp, stream);
mailbox_messages_count (tmp, &len);
if (len == 1)
......