summaryrefslogtreecommitdiffstats
path: root/pkgdb2-del.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdb2-del.c')
-rw-r--r--pkgdb2-del.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgdb2-del.c b/pkgdb2-del.c
index c81e542..3ceb580 100644
--- a/pkgdb2-del.c
+++ b/pkgdb2-del.c
@@ -4,9 +4,9 @@
#include <string.h>
#include <limits.h>
-#define DB_USER "archweb"
-#define DB_NAME "archweb"
-#define DB_PASS "passwords-are-cool"
+#ifndef DB_PASS
+ #error "MySQL connection info undefined"
+#endif
typedef struct pkg {
unsigned int id;