projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d70cb8e
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 07:54:49 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 07:54:49 +0000
(15:54 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
1123c47
..
ccf79ae
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-442,7
+442,8
@@
public class Strip : GLib.Object {
{
var filename = attachment.get_header("X-strip-content-name");
{
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);
var content_type = attachment.get_header("X-strip-content-type");
GLib.error("GOT FN: %s | PATH: %s | CT: %s", filename, file_path, content_type);