From c0e54160710f500f40a498a1c412c4cccb34104d Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Wed, 31 May 2006 09:50:27 +0000 Subject: [PATCH] Fix problem with remotely accessing config page --- src/configfile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configfile.c b/src/configfile.c index af64e36d..0d334345 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -392,6 +392,9 @@ int config_auth(WS_CONNINFO *pwsc, char *user, char *password) { if(!adminpassword) return FALSE; + if(!password) + return FALSE; + res = !strcmp(password,adminpassword); free(adminpassword); return res;