src/strip.vala
[app.mailtrimmer] / src / strip.vala
index 743f981..8686615 100644 (file)
@@ -487,7 +487,7 @@ public class Strip : GLib.Object {
                                    '%s',  -- mimetype
                                    
                                    '%s', -- stored file anme
-                                   '',
+                                   '', -- charset
                                    'attachment',
                                    0,
                                    0,
@@ -502,15 +502,12 @@ public class Strip : GLib.Object {
                      """.printf(
                                id,
                                      this.mysql_escape(this.active_message_exim_id),
-                                     this.mysql_escape(filename),                                                            
-                                 this.mysql_escape(mime_type),                                                       
-                                 this.mysql_escape(file_path),                                                       
-                             file_size
-                     file_size
-                                     this.mysql_escape(chksum),
-
-
+                                     this.mysql_escape(filename),
+                                 this.mysql_escape(mime_type),
+                                 this.mysql_escape(file_path),
+                                       file_size
                                      file_size
+                                     this.mysql_escape(chksum)
                         ));
                         
                 this.query("""