summaryrefslogtreecommitdiff
path: root/libproto/mbox/mbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'libproto/mbox/mbox.c')
-rw-r--r--libproto/mbox/mbox.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libproto/mbox/mbox.c b/libproto/mbox/mbox.c
index 98d288d0b..c81701e50 100644
--- a/libproto/mbox/mbox.c
+++ b/libproto/mbox/mbox.c
@@ -298,7 +298,7 @@ _msg_stream_setup (mu_message_t msg, mbox_message_t mum)
status = mu_streamref_create_abridged (&stream,
mum->mud->mailbox->stream,
mum->envel_from_end,
- mum->body_end);
+ mum->body_end - 1);
if (status == 0)
status = mu_message_set_stream (msg, stream, mum);
return status;
@@ -1272,16 +1272,6 @@ mbox_expunge_unlocked (mu_mailbox_t mailbox, size_t dirty, int remove_deleted,
return status;
}
}
-
- status = mu_stream_write (tempstr, "\n", 1, NULL);
- if (status)
- {
- mu_error (_("%s:%d: error writing to temporary stream: %s"),
- __FILE__, __LINE__,
- mu_strerror (status));
- return status;
- }
-
}
/* Caution: before moving data back to the mailbox see

Return to:

Send suggestions and report system problems to the System administrator.