commit 52e995c0a7741967ab68883a63a8c7e70a4589ee
parent b37c6545e7220e295050080a39b326e866fa589a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Fri, 11 Nov 2016 13:24:30 +0300
mhd_itc.c: fixed typo preventing build on Solaris and other systems.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/mhd_itc.c b/src/microhttpd/mhd_itc.c
@@ -58,7 +58,7 @@ MHD_itc_nonblocking_ (struct MHD_itc_ itc)
return 0;
if ( ((flags | O_NONBLOCK) != flags) &&
- (0 != fcntl (pip.fd[i],
+ (0 != fcntl (itc.fd[i],
F_SETFL,
flags | O_NONBLOCK)) )
return 0;