diff options
Diffstat (limited to 'daemon/simple.c')
-rw-r--r-- | daemon/simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ }; |