From e3c0a08a883b8fa868f7ee0aa2fa9150af4050a2 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 23 Jun 2009 04:17:28 +0200 Subject: merged updates from base/master in own files --- trainstore.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/trainstore.c b/trainstore.c index bcd40be..3f6fb38 100644 --- a/trainstore.c +++ b/trainstore.c @@ -256,18 +256,8 @@ int backend_handle_mail(struct mailbox_transaction_context *t, } /* "From "? skip line */ - if (memcmp("From ", beginning, 5) == 0) { + if (memcmp("From ", beginning, 5) == 0) i_stream_read_next_line(mailstream); - } - else { - if (o_stream_send_str(outstream, "From ") < 0) { - ret = -1; - mail_storage_set_error(t->box->storage, - ME(NOTPOSSIBLE) - "Failed to write line to temp"); - goto failed_to_copy; - } - } if (o_stream_send_istream(outstream, mailstream) < 0) { ret = -1; -- cgit v1.2.3