summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-09-23 21:09:19 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-09-24 13:05:16 +0200
commit2ce75251d91824ddb56d28150aa0daf7ed616d22 (patch)
tree96dc6e7c57cb2ff64e87af995e6d2264295691ea
parentcac7697054340c33b5af311f8d4498496722a21c (diff)
Adjust for new error linking setup in libimagentryref
-rw-r--r--lib/domain/libimagmail/src/hasher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/domain/libimagmail/src/hasher.rs b/lib/domain/libimagmail/src/hasher.rs
index 07817602..3d3ff702 100644
--- a/lib/domain/libimagmail/src/hasher.rs
+++ b/lib/domain/libimagmail/src/hasher.rs
@@ -51,7 +51,7 @@ impl Hasher for MailHasher {
use email::Header;
let mut s = String::new();
- try!(c.read_to_string(&mut s).chain_err(|| REK::UTF8Error).chain_err(|| REK::IOError));
+ try!(c.read_to_string(&mut s));
MimeMessage::parse(&s)
.chain_err(|| REK::RefHashingError)