diff options
| author | 2006-04-21 08:39:11 +0000 | |
|---|---|---|
| committer | 2006-04-21 08:39:11 +0000 | |
| commit | 10da665cbcf682158428c491cdadf86c7b17825b (patch) | |
| tree | 1bf66d164f4a1408a2f8afc6d7c7ea8db35d966a /examples/nanohttp | |
| parent | 5d681769c60b2d3216d76c1efe4f112a24baf519 (diff) | |
| download | csoap-10da665cbcf682158428c491cdadf86c7b17825b.tar.gz csoap-10da665cbcf682158428c491cdadf86c7b17825b.tar.bz2  | |
Added a hrequest_t parameter to authentication function
Diffstat (limited to 'examples/nanohttp')
| -rw-r--r-- | examples/nanohttp/http_server.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nanohttp/http_server.c b/examples/nanohttp/http_server.c index f8a0536..33e60ce 100644 --- a/examples/nanohttp/http_server.c +++ b/examples/nanohttp/http_server.c @@ -1,5 +1,5 @@  /****************************************************************** -*  $Id: http_server.c,v 1.2 2006/02/27 22:26:02 snowdrop Exp $ +*  $Id: http_server.c,v 1.3 2006/04/21 08:40:37 m0gg Exp $  *  * CSOAP Project:  A http client/server library in C (example)  * Copyright (C) 2003  Ferhat Ayaz @@ -26,7 +26,7 @@  #include <nanohttp/nanohttp-server.h> -static int simple_authenticator(const char *user, const char *password) +static int simple_authenticator(hrequest_t *req, const char *user, const char *password)  {  	log_info3("logging in user=\"%s\" password=\"%s\"", user, password);  | 
