Browse Source

Fix: Add missing parameter

Reviewed-by: Manos Pitsidianakis <epilys@nessuent.xyz>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
tags/pre-alpha-0.4.0
Matthias Beyer Manos Pitsidianakis <el13635@mail.ntua.gr> 5 months ago
parent
commit
fa29aec83d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      testing/src/email_parse.rs

+ 1
- 1
testing/src/email_parse.rs 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 {


Loading…
Cancel
Save