summaryrefslogtreecommitdiffstats
path: root/database/sqlite
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-12-03 16:12:31 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-12-03 16:12:31 +0100
commit2b59a24d796dbb9450f289e1cfd08f4e161151af (patch)
tree95d9059c6ea7b0de67f6ff6b5c4ee2ca822ac01e /database/sqlite
parent7adbf78d854b4d119ba2463d4936b882d8d8faa9 (diff)
downloadeurephia-2b59a24d796dbb9450f289e1cfd08f4e161151af.tar.gz
eurephia-2b59a24d796dbb9450f289e1cfd08f4e161151af.tar.xz
eurephia-2b59a24d796dbb9450f289e1cfd08f4e161151af.zip
Fixed wrong data type for the access variable in eDBadminAuth(...)
Diffstat (limited to 'database/sqlite')
-rw-r--r--database/sqlite/edb-sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/database/sqlite/edb-sqlite.c b/database/sqlite/edb-sqlite.c
index fb76369..60be1df 100644
--- a/database/sqlite/edb-sqlite.c
+++ b/database/sqlite/edb-sqlite.c
@@ -935,8 +935,8 @@ int eDBadminAuth(eurephiaCTX *ctx, const char *req_access, const char *uname, co
dbresult *res = NULL;
char *crpwd = NULL;
char *activated = NULL, *deactivated = NULL, *blid = NULL;
- int uid = -1, pwok = 0;
- char interface, *access = NULL;
+ int uid = -1, pwok = 0, access = 0;
+ char interface;
assert(ctx != NULL);