libmicrohttpd

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

commit 633e5a110811d427eef9f9dd758cc2bfa7b605e3
parent b27bee6e179e583cbec414e5dfc5e8b535376d03
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  7 May 2015 17:03:55 +0000

daemon.c: fix typos

Diffstat:
Msrc/microhttpd/daemon.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -943,7 +943,7 @@ MHD_handle_connection (void *data) } #if WINDOWS extra_slot = 0; - if (MHD_INVALID_PIPE != spipe) + if (MHD_INVALID_PIPE_ != spipe) { p[1].events |= POLLIN; p[1].fd = spipe; @@ -971,7 +971,7 @@ MHD_handle_connection (void *data) #if WINDOWS /* drain signaling pipe */ if ( (MHD_INVALID_PIPE_ != spipe) && - (0 != (p[1].revents & (PLLERR | POLLHUP))) ) + (0 != (p[1].revents & (POLLERR | POLLHUP))) ) (void) MHD_pipe_read_ (spipe, &tmp, sizeof (tmp)); #endif if ( (0 != (p[0].revents & POLLIN))