From 62d575ad377b6216cdcc2edcb9522fba655cbaf1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jun 2018 15:57:37 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/strip.vala b/src/strip.vala index 02a0b27..015b1d6 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -453,9 +453,8 @@ public class Strip : GLib.Object { var file_size = (int) fileinfo.get_size(); - GLib.error("GOT FN: %s | PATH: %s | CT: %s", filename, file_path, mime_filename); - - /* + + this.query(""" INSERT INTO Attachments (id, exim_msg?, chksum, filesize) @@ -469,9 +468,8 @@ public class Strip : GLib.Object { this.mysql_escape(this.active_message_exim_id), this.mysql_escape(chksum), this.mysql_escape(mime_filename), - int.parse(filesize) - )); - */ + int.parse(file_size) + )); } -- 2.39.2