]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gsocket.c
Fixed Unicode breakage I caused
[wxWidgets.git] / src / os2 / gsocket.c
index 13797e51cb2e3653d09823d45afe893175dc01c7..242e3f4038831c9ffb91eaa085ec60dbfc8f5d99 100644 (file)
@@ -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 */