From: Rudolf Polzer Date: Tue, 13 Aug 2013 13:31:39 +0000 (+0200) Subject: fix blocking X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2FdivVerent%2Flhnet_tcp;p=xonotic%2Fdarkplaces.git fix blocking --- diff --git a/lhnet.c b/lhnet.c index c07e2042..9eae3d1d 100644 --- a/lhnet.c +++ b/lhnet.c @@ -1022,7 +1022,7 @@ lhnetsocket_t *LHNET_OpenSocket(lhnetaddress_t *address, lhnetaddress_t *peeradd #else char _true = 1; #endif - if (ioctlsocket(lhnetsocket->inetsocket, FIONBIO, use_blocking ? &_true : &_false) != -1) + if (ioctlsocket(lhnetsocket->inetsocket, FIONBIO, use_blocking ? &_false : &_true) != -1) #endif { #ifdef IPV6_V6ONLY