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

index 1123c47..ccf79ae 100644 (file)
@@ -442,7 +442,8 @@ public class Strip : GLib.Object {
     {
                
         var filename = attachment.get_header("X-strip-content-name");
-        var file_path  = opt_target_path + "/" + attachment.get_header("X-strip-path");
+        var file_path  = attachment.get_header("X-strip-path");
+        var full_path =  opt_target_path + "/" + file_path;
                var content_type = attachment.get_header("X-strip-content-type");
                
                GLib.error("GOT FN: %s  | PATH: %s | CT: %s", filename, file_path, content_type);