src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 29 Jun 2018 07:55:44 +0000 (15:55 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 29 Jun 2018 07:55:44 +0000 (15:55 +0800)
src/strip.vala

index 9871c32..5ea5750 100644 (file)
@@ -445,9 +445,9 @@ public class Strip : GLib.Object {
         var file_path  = attachment.get_header("X-strip-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");
+               var mime_filename = attachment.get_header("X-strip-content-type");
                
-               GLib.error("GOT FN: %s  | PATH: %s | CT: %s", filename, file_path, content_type);
+               GLib.error("GOT FN: %s  | PATH: %s | CT: %s", filename, file_path, mime_filename);
      
                /*
                this.query("""