diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-07-18 18:47:27 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-07-18 18:47:27 +0300 |
commit | cfb6fd3fdec2b935c223b04f46f5763d517e6144 (patch) | |
tree | 64d6bd7a773583c687b148799fc1f9f22ffaa911 | |
parent | 1e729010c1a6bed4969b28f1d75f55ff935e234e (diff) |
melib: return raw body instead of headers in MaildirOp::fetch_body
-rw-r--r-- | melib/src/backends/maildir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/melib/src/backends/maildir.rs b/melib/src/backends/maildir.rs index eb71d988..9dd3c8cc 100644 --- a/melib/src/backends/maildir.rs +++ b/melib/src/backends/maildir.rs @@ -99,7 +99,7 @@ impl<'a> BackendOp for MaildirOp { } fn fetch_body(&mut self) -> Result<&[u8]> { let raw = self.as_bytes()?; - let result = parser::headers_raw(raw).to_full_result()?; + let result = parser::body_raw(raw).to_full_result()?; Ok(result) } fn fetch_flags(&self) -> Flag { |