X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/987da0d4116e93c1d326b29272c28ee9f989b87c..1a1dac18e34ef7736c1e82f3ede88338e78824b6:/src/os2/gsocket.c diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 13797e51cb..242e3f4038 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -1491,7 +1491,7 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname) { #elif defined(HAVE_INET_ADDR) addr->s_addr = inet_addr(hostname); - if ( (addr->s_addr == -1 ) + if ( addr->s_addr == -1 ) { #else /* Use gethostbyname by default */