From 2b59a24d796dbb9450f289e1cfd08f4e161151af Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 3 Dec 2008 16:12:31 +0100 Subject: Fixed wrong data type for the access variable in eDBadminAuth(...) --- database/sqlite/edb-sqlite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'database/sqlite') 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); -- cgit