aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 14:45:26 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 14:45:26 +0100
commitd495538d55c723d8a088c32327258ce10c555a2e (patch)
treedf142140ee39d5d31311eadfed3003dc8e99c84c
parent99a802a7a4950e14ca14e0c5eabd6eb9fa700e89 (diff)
downloadaerogramme-d495538d55c723d8a088c32327258ce10c555a2e.tar.gz
aerogramme-d495538d55c723d8a088c32327258ce10c555a2e.zip
Stop dumping parsed emails in the logs
-rw-r--r--src/mail/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mail/mod.rs b/src/mail/mod.rs
index 1836052..bb2f130 100644
--- a/src/mail/mod.rs
+++ b/src/mail/mod.rs
@@ -22,9 +22,6 @@ impl<'a> TryFrom<&'a [u8]> for IMF<'a> {
type Error = ();
fn try_from(body: &'a [u8]) -> Result<IMF<'a>, ()> {
- eprintln!("---- BEGIN PARSED MESSAGE ----");
- let _ = std::io::stderr().write_all(body);
- eprintln!("---- END PARSED MESSAGE ----");
let parsed = eml_codec::parse_message(body).or(Err(()))?.1;
Ok(Self { raw: body, parsed })
}