From d92564c87818157b09ddfbf3314406b765ca390a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 20:59:04 +0000 Subject: - Changed 'goto finally' to RETURN(xx) - Added MYSQL support and tested it. --- daemon/simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/simple.c') diff --git a/daemon/simple.c b/daemon/simple.c index 8e4f8df..fca0e28 100644 --- a/daemon/simple.c +++ b/daemon/simple.c @@ -208,7 +208,7 @@ static int validate_basic(ha_request_t* rq, const char* user, const char* passwo ha_lock(NULL); /* Check the password */ - t2 = crypt(password, t); + t2 = (const char*)crypt(password, t); ha_unlock(NULL); @@ -326,7 +326,7 @@ ha_handler_t simple_handler = bd_destroy, /* Uninitialization routine */ simple_config, /* Config routine */ bd_process, /* Processing routine */ - NULL, /* A default context */ + &simple_defaults, /* A default context */ sizeof(simple_context_t) /* Size of the context */ }; -- cgit v1.2.3