Cosmetics.

This commit is contained in:
Bartosz Taudul 2020-04-13 21:39:51 +02:00
parent 0508586108
commit 5437976e65

View File

@ -322,7 +322,7 @@ bool ListenSocket::Listen( int port, int backlog )
hints.ai_family = AF_INET; hints.ai_family = AF_INET;
if( getaddrinfo( nullptr, portbuf, &hints, &res ) != 0 ) return false; if( getaddrinfo( nullptr, portbuf, &hints, &res ) != 0 ) return false;
m_sock = socket( res->ai_family, res->ai_socktype, res->ai_protocol ); m_sock = socket( res->ai_family, res->ai_socktype, res->ai_protocol );
if (m_sock == -1) return false; if( m_sock == -1 ) return false;
} }
#if defined _WIN32 || defined __CYGWIN__ #if defined _WIN32 || defined __CYGWIN__
unsigned long val = 0; unsigned long val = 0;