libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 6fe9f6e9b6e556d2fb382681701c0412e19b40ed
parent fa8072232a908e60ac6f54f25d0fd206c23add0e
Author: Evgeny Grin <k2k@drgrin.dev>
Date:   Thu, 15 May 2025 13:12:38 +0300

mhd_check_poll_quirks: removed extra spaces

Diffstat:
Mm4/mhd_check_poll_quirks.m4 | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/m4/mhd_check_poll_quirks.m4 b/m4/mhd_check_poll_quirks.m4 @@ -276,8 +276,8 @@ static int check_poll_fn(void) fds[0].fd = itc_pair[0]; #endif fds[0].events = POLLIN; - - + + listen_skt = socket(my_PF_INET, SOCK_STREAM, 0); if (MY_INVALID_SOCKET == listen_skt) err_res = 13; @@ -286,24 +286,24 @@ static int check_poll_fn(void) if (1) /* for local scope */ { struct sockaddr_in sk_addr; - + sk_addr.sin_family = AF_INET; sk_addr.sin_addr.s_addr = INADDR_ANY; sk_addr.sin_port = 0; #ifdef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN sk_addr.sin_len = sizeof(sk_addr); #endif - + res = bind(listen_skt, (struct sockaddr *) &sk_addr, sizeof(sk_addr)); (void) res; /* ignore result */ } - + res = listen(listen_skt, 8); (void) res; /* ignore result */ - + fds[1].fd = listen_skt; fds[1].events = POLLIN; - + #ifdef CHECK_USE_POSIX_SOCKETS res = poll(fds, 2, 0); #else @@ -311,7 +311,7 @@ static int check_poll_fn(void) #endif if (0 > res) err_res = 14; - + if (POLLIN != fds[0].events) { fprintf (stderr, "fds[0].events changed from 0x%X to 0x%X\n", (unsigned int) POLLIN, (unsigned int) fds[0].events);