src/strip.vala
[app.mailtrimmer] / 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);