summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgdb2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgdb2.c b/pkgdb2.c
index 7b21600..127c31c 100644
--- a/pkgdb2.c
+++ b/pkgdb2.c
@@ -1,4 +1,4 @@
-/* $Id: pkgdb2.c,v 1.3 2004/07/02 00:17:52 judd Exp $ */
+/* $Id: pkgdb2.c,v 1.4 2004/07/11 20:45:21 judd Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -231,7 +231,7 @@ int main(int argc, char **argv)
snprintf(query, sizeof(query), "DELETE FROM packages WHERE id='%d'",
ptr->id);
doquery(&db, query);
- snprintf(query, sizeof(query), "DELETE FROM todolist_pkgs WHERE id='%d'",
+ snprintf(query, sizeof(query), "DELETE FROM todolist_pkgs WHERE listid='%d'",
ptr->id);
doquery(&db, query);
}