Commit f118484f f118484f4736d9f809806e4b961a65b7dd55320b by Sergey Poznyakoff

(imap4d_append0): Added missing call to stream_open()

1 parent dcc38464
...@@ -78,7 +78,8 @@ imap4d_append0 (mailbox_t mbox, int flags, char *text) ...@@ -78,7 +78,8 @@ imap4d_append0 (mailbox_t mbox, int flags, char *text)
78 if (mailbox_open (tmp, MU_STREAM_READ) != 0) 78 if (mailbox_open (tmp, MU_STREAM_READ) != 0)
79 return 1; 79 return 1;
80 80
81 if (memory_stream_create (&stream, 0, 0)) 81 if (memory_stream_create (&stream, 0, MU_STREAM_RDWR)
82 || stream_open (stream))
82 { 83 {
83 mailbox_close (tmp); 84 mailbox_close (tmp);
84 return 1; 85 return 1;
......