X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2Fstrip.vala;h=fbd39d4949f612d1d44e128074649fefc3791644;hb=238686cddccc00079d64d663240a327acd86b9d8;hp=5b55d52fa0a4ad76643df556d50012e50e146dba;hpb=a2db8e4179462b4110f2550d405ee952ec2e6aad;p=app.mailtrimmer diff --git a/src/strip.vala b/src/strip.vala index 5b55d52..fbd39d4 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -372,7 +372,8 @@ public class Strip : GLib.Object { // that should wipe out dupes. var matches = this.execute("SELECT count(id) FROM Attachment WHERE id = %d".printf( int.parse(sid))); - + GLib.error("Got Matches :%s", matches); + if (matches=="0") { GLib.error("Failed to find id :%s", sid); return;