diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-06-23 04:17:28 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-06-23 04:17:28 +0200 |
commit | e3c0a08a883b8fa868f7ee0aa2fa9150af4050a2 (patch) | |
tree | 2784c38f065abc30f7ed5f805ca5ea656e1cb644 | |
parent | 41d889153dd3b5109d5cae6e1dbd754c6c229355 (diff) | |
download | dovecot-antispam-e3c0a08a883b8fa868f7ee0aa2fa9150af4050a2.tar.gz dovecot-antispam-e3c0a08a883b8fa868f7ee0aa2fa9150af4050a2.tar.xz dovecot-antispam-e3c0a08a883b8fa868f7ee0aa2fa9150af4050a2.zip |
merged updates from base/master in own files
Diffstat (limited to '')
-rw-r--r-- | trainstore.c | 12 |
1 files changed, 1 insertions, 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; |