X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2Fstrip.vala;h=0bfe47736116f24e9383fc6e02d56b7258b94598;hb=685216d7f806b3ccf6237ec99e3253f0d7bc12fc;hp=7524ef137afe417eb81325cdc4b6079a87e98133;hpb=f47238e77f8847a67259ea1681bbdfb55ca0ceb7;p=app.mailtrimmer diff --git a/src/strip.vala b/src/strip.vala index 7524ef1..0bfe477 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -370,7 +370,7 @@ public class Strip : GLib.Object { // initialize it with known data.. // that should wipe out dupes. - var matches = this.execute("SELECT id as nid FROM Attachment WHERE id = %d".printf( + var matches = this.execute("SELECT id FROM Attachment WHERE id = %d".printf( int.parse(sid)));