summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 73fba50f1..54e38d387 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -335,7 +335,7 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh)
char *buf;
rc = mu_file_stream_create (&str, wh->file,
- MU_STREAM_WRITE|MU_STREAM_CREAT);
+ MU_STREAM_WRITE|MU_STREAM_CREAT);
if (rc)
{
mu_error (_("cannot create draft file stream %s: %s"),
@@ -366,7 +366,7 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh)
else
mh_format (&format, msg, msgset.list[0], width, &buf);
- mu_stream_sequential_write (str, buf, strlen (buf));
+ mu_stream_write (str, buf, strlen (buf), NULL);
if (mhl_filter)
{
@@ -377,7 +377,7 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh)
mhl_format_destroy (&filter);
}
- mu_stream_destroy (&str, mu_stream_get_owner (str));
+ mu_stream_destroy (&str);
free (buf);
}

Return to:

Send suggestions and report system problems to the System administrator.