libmicrohttpd

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

commit 902432c452ce18f67b73860b140432e27733dea6
parent 0bf9a2285ed423cd5ce1b958e02775bdcd65ea25
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  6 Apr 2017 23:09:56 +0300

mhd_sockets.c: Fixed compiler warning

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

diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c @@ -511,7 +511,7 @@ MHD_socket_create_listen_ (int use_ipv6) if(! MHD_socket_nosignal_(fd)) { const int err = MHD_socket_get_error_ (); - MHD_socket_close_ (fd); + (void) MHD_socket_close_ (fd); MHD_socket_fset_error_ (err); return MHD_INVALID_SOCKET; }