libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit b72654d5b4e5ba8b27614951947c5a76164d3ee5
parent c7729110a0f784a2ba3a847586e0b418725db696
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 27 Jan 2011 08:56:27 +0000

docu

Diffstat:
Msrc/include/microhttpd.h | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -717,7 +717,9 @@ enum MHD_ConnectionInfoType /** * Obtain IP address of the client. - * Takes no extra arguments. + * Takes no extra arguments. Returns a + * 'struct sockaddr_in **' by accident; obsolete, + * use MHD_CONNECTION_INFO_CLIENT_SOCK_ADDR. */ MHD_CONNECTION_INFO_CLIENT_ADDRESS, @@ -730,6 +732,7 @@ enum MHD_ConnectionInfoType * Get the GNUTLS client certificate handle. */ MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT + }; /** @@ -1545,7 +1548,7 @@ union MHD_ConnectionInfo /** * Address information for the client. */ - struct sockaddr_in * client_addr; + struct sockaddr_in *client_addr; }; /**