src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:22:40 +0000 (13:22 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:22:40 +0000 (13:22 +0800)
src/strip.vala

index c0b86ae..2414bc8 100644 (file)
@@ -421,7 +421,8 @@ public class Strip : GLib.Object {
                                '%s', -- in_checksum VARCHAR(64),
                                '%s', -- in_mime_filename varchar(255)
                                %d -- filesize
-                       ) as id ;
+                       ) as id 
+                       
           """.printf(
                        this.mysql_escape(this.active_message_exim_id),
                        chksum,
@@ -435,14 +436,14 @@ public class Strip : GLib.Object {
                
                var target_fn = "";
                
-               var create_dir = this.created_dir;
+               //var create_dir = this.created_dir;
                
                
                if (rs != null  && rs.num_rows() > 0) {
                        file_id =  row[0];
-                       create_dir = row[1];
-                       GLib.debug("msgid %s", row[2]);
-                       Posix.exit(0);
+                       //create_dir = row[1];
+                       //GLib.debug("msgid %s", row[2]);
                        this.used_space_after += file_size;
                        if (StripApplication.opt_is_extracting) {
                                target_fn = StripApplication.opt_target_path + "/" + this.created_dir +"/"+ file_id  + "-" + filename;