From b73c5d785a71edade3ba473cbb13ec57aaeec7ed Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 27 Feb 2006 22:26:01 +0000 Subject: - removes a memleak in examples/csoap/simpleserver.c say_hello - adds various malloc error messages - does some libcsoap/*.c #include fixups - removes a memleak in libcsoap/soap-server.c soap_server_entry - removes the double free of SoapCtx->action (again!!!) - rewrites more or less cleanly hsocket_close - adds volatile keywords for thread shared data items - _httpd_parse_arguments cleanup - rwerites the _httpd_connection initialization - adds a call to pthread_attr_destroy in httpd_session_main - fixes a wrong loop initialization in _httpd_wait_for_emtpy_conn - fixes a memleak in httpd_session_main (req) - more sophisticated httpd_server example - HTTP authentication SEGfault without password fixed --- nanohttp/nanohttp-ssl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nanohttp/nanohttp-ssl.h') diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index 798a1ee..1cdafb2 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -25,10 +25,6 @@ /* Do enter only if --with-ssl was specified by the configure script */ #ifdef HAVE_SSL -#ifdef __cplusplus -extern "C" { -#endif - #ifdef TRU64 #include typedef unsigned int uint32_t; @@ -61,6 +57,10 @@ typedef struct Con * Callback for password checker */ +#ifdef __cplusplus +extern "C" { +#endif + //static int pw_cb(char* buf, int num, int rwflag, void *userdata); /* -- cgit v1.1-32-gdbae