From 10da665cbcf682158428c491cdadf86c7b17825b Mon Sep 17 00:00:00 2001 From: m0gg Date: Fri, 21 Apr 2006 08:39:11 +0000 Subject: Added a hrequest_t parameter to authentication function --- examples/nanohttp/http_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 -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); -- cgit v1.1-32-gdbae