From: Alan Knowles Date: Fri, 29 Jun 2018 07:55:36 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?p=app.mailtrimmer;a=commitdiff_plain;h=b36c651c4c672af0c1da4e1c865147b909299f2a src/strip.vala --- diff --git a/src/strip.vala b/src/strip.vala index 417bca5..9871c32 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -443,7 +443,8 @@ public class Strip : GLib.Object { var filename = attachment.get_header("X-strip-content-name"); var file_path = attachment.get_header("X-strip-path"); - var full_path = StripApplication.opt_target_path + "/" + file_path; + var fn = StripApplication.opt_target_path + "/" + file_path; + var chksum = this.md5_file(fn); var content_type = attachment.get_header("X-strip-content-type"); GLib.error("GOT FN: %s | PATH: %s | CT: %s", filename, file_path, content_type);