libmicrohttpd

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

commit bd05eb27037144c3058c30dc20640d4b1ffa68a3
parent 12cdc2bcd8d1030ce88633fc2f4f701391b64e00
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 24 Nov 2015 11:48:10 +0000

Fix type introduced in SVN 36682

Diffstat:
Msrc/microhttpd/connection.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2509,7 +2509,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) #if HAVE_DECL_TCP_CORK /* done sending, uncork */ { - const _MHD_SOCKOPT_BOOL_TYPE = 0; + const _MHD_SOCKOPT_BOOL_TYPE val = 0; setsockopt (connection->socket_fd, IPPROTO_TCP, TCP_CORK, &val, sizeof (val)); }