diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-06 14:45:26 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-06 14:45:26 +0100 |
commit | d495538d55c723d8a088c32327258ce10c555a2e (patch) | |
tree | df142140ee39d5d31311eadfed3003dc8e99c84c | |
parent | 99a802a7a4950e14ca14e0c5eabd6eb9fa700e89 (diff) | |
download | aerogramme-d495538d55c723d8a088c32327258ce10c555a2e.tar.gz aerogramme-d495538d55c723d8a088c32327258ce10c555a2e.zip |
Stop dumping parsed emails in the logs
-rw-r--r-- | src/mail/mod.rs | 3 |
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 }) } |