libmicrohttpd

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

commit 0c435287dce7f5b53a0a02cfd4f505e544d47742
parent c216670930063791d059ec90767886a44f32ca95
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 27 Jan 2011 09:02:25 +0000

should be sockaddr, not sockaddr_in

Diffstat:
Msrc/daemon/internal.h | 2+-
Msrc/include/microhttpd.h | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/daemon/internal.h b/src/daemon/internal.h @@ -526,7 +526,7 @@ struct MHD_Connection * Foreign address (of length addr_len). MALLOCED (not * in pool!). */ - struct sockaddr_in *addr; + struct sockaddr *addr; /** * Thread for this connection (if we are using diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -106,7 +106,7 @@ extern "C" /** * Current version of the library. */ -#define MHD_VERSION 0x00090600 +#define MHD_VERSION 0x00090601 /** * MHD-internal return code for "YES". @@ -1548,7 +1548,7 @@ union MHD_ConnectionInfo /** * Address information for the client. */ - struct sockaddr_in *client_addr; + struct sockaddr *client_addr; }; /**