(imap4d_append0): Added missing call to stream_open()
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment