diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-06-23 04:12:24 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-06-23 04:12:24 +0200 |
commit | 41d889153dd3b5109d5cae6e1dbd754c6c229355 (patch) | |
tree | 0bb762dfec147a54652d9168722d020b8341582b /mailtrain.c | |
parent | b13caf45c4f8890614fff0576fad7c5ffcf01d6c (diff) | |
parent | 8f7c08bc8a39c22b3cca1e306cf454d64b405b8c (diff) | |
download | dovecot-antispam-41d889153dd3b5109d5cae6e1dbd754c6c229355.tar.gz dovecot-antispam-41d889153dd3b5109d5cae6e1dbd754c6c229355.tar.xz dovecot-antispam-41d889153dd3b5109d5cae6e1dbd754c6c229355.zip |
Merge commit 'base/master'
Diffstat (limited to '')
-rw-r--r-- | mailtrain.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/mailtrain.c b/mailtrain.c index fe2868d..41071bc 100644 --- a/mailtrain.c +++ b/mailtrain.c @@ -285,17 +285,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(outstream, beginning, 5) != 5) { - 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; |