summaryrefslogtreecommitdiffstats
path: root/pkgdb2-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdb2-add.c')
-rw-r--r--pkgdb2-add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgdb2-add.c b/pkgdb2-add.c
index 489074c..92d1339 100644
--- a/pkgdb2-add.c
+++ b/pkgdb2-add.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;