X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..0fa784572f2324fe246158d8eec9492fac604483:/src/os2/gsocket.c?ds=sidebyside diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 222c0e24d1..242e3f4038 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -1491,12 +1491,12 @@ 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 */ -// int val = 1; //VA doesn't like constants in conditional expressions at all - if (1) + int val = 1; //VA doesn't like constants in conditional expressions at all + if (val) { #endif struct in_addr *array_addr;