summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-08-03 02:24:55 +0200
committerJudd Vinet <judd@archlinux.org>2004-08-03 02:24:55 +0200
commit356342c65bcec5ab91680bd0118e566b6f0d90b2 (patch)
tree923a478f2d6d1937f32bdcbe130f36870197cff7
parentde737c171f2d57baa3e01abe01f7afd588ec1753 (diff)
downloaddbscripts-356342c65bcec5ab91680bd0118e566b6f0d90b2.tar.gz
dbscripts-356342c65bcec5ab91680bd0118e566b6f0d90b2.tar.xz
disabled the auto-mark-as-complete for todo lists
-rw-r--r--pkgdb2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgdb2.c b/pkgdb2.c
index 127c31c..a113a87 100644
--- a/pkgdb2.c
+++ b/pkgdb2.c
@@ -1,4 +1,4 @@
-/* $Id: pkgdb2.c,v 1.4 2004/07/11 20:45:21 judd Exp $ */
+/* $Id: pkgdb2.c,v 1.5 2004/08/03 00:24:55 judd Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -210,9 +210,11 @@ int main(int argc, char **argv)
addslashes(desc), addslashes(url), addslashes(sources),
addslashes(deplist), ptr->id);
doquery(&db, query);
+ /*
snprintf(query, sizeof(query), "UPDATE todolist_pkgs SET complete=1 "
"WHERE pkgid='%d'", ptr->id);
doquery(&db, query);
+ */
}
}