summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-13 13:49:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-14 02:14:18 +0300
commit72938b640199d03d6092366224d3927d5d2a33b9 (patch)
treec7e57d69da40085ba835d2e22d1a3d59ab201fe5 /src/net
parentc4cef10f92a8ff3fc668e0644d38744dccd06392 (diff)
downloadplus-72938b640199d03d6092366224d3927d5d2a33b9.tar.gz
plus-72938b640199d03d6092366224d3927d5d2a33b9.tar.bz2
plus-72938b640199d03d6092366224d3927d5d2a33b9.tar.xz
plus-72938b640199d03d6092366224d3927d5d2a33b9.zip
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index d42b533c4..2bbb9837a 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -90,8 +90,8 @@ TcpNet::Socket TcpNet::open(IPaddress *const ip)
{
const TcpNet::Socket sock = SDLNet_TCP_Open(ip);
#if !defined(__native_client__) \
- || defined(TCP_THIN_LINEAR_TIMEOUTS) \
- || defined(TCP_THIN_DUPACK)
+ && (defined(TCP_THIN_LINEAR_TIMEOUTS) \
+ || defined(TCP_THIN_DUPACK))
if (sock && ip)
{
const TCPsocketHack *const hack