Fix: Add missing parameter

Reviewed-by: Manos Pitsidianakis <epilys@nessuent.xyz>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
embed
Matthias Beyer 2019-10-04 18:35:40 +02:00 committed by Manos Pitsidianakis
parent c2fd0bc794
commit fa29aec83d
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ fn main() -> Result<()> {
"Something went wrong reading the file {}",
filename.display()
));
let env = Envelope::from_bytes(&buffer.as_bytes()).expect("Couldn't parse email");
let env = Envelope::from_bytes(&buffer.as_bytes(), None).expect("Couldn't parse email");
debug!("Env is {:#?}", env);
debug!(env.body_bytes(buffer.as_bytes()));
} else {