projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51d4ed
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 10:30:29 +0000
(18:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 10:30:29 +0000
(18:30 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
c13ab2b
..
0e847bd
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-401,7
+401,7
@@
public class Strip : GLib.Object {
)
VALUES
(
- %d
+ COALESCE((SELECT id from MailQueue where msgid = '%s' AND message_sig = '%s' AND msgid != '' AND message_sig != ''),0),
'%s',
'%s',
%d,
@@
-427,7
+427,7
@@
public class Strip : GLib.Object {
)
""".printf(
- 0, // queue_id
+ this.mysql_escape(this.active_message_exim_id), this.mysql_exc
"",
"attachment",
file_size,