]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.cpp
fixes for s.Printf(s) crashes
[wxWidgets.git] / src / msw / gsocket.cpp
index 19138f1f81028704e36e3a011994a05d5b51f692..5992a1db63e0877daf0b78f6eba75d89b51d3eb7 100644 (file)
@@ -1420,7 +1420,7 @@ GSocketError GAddress_INET_SetHostAddress(GAddress *address,
   CHECK_ADDRESS(address, INET);
 
   addr = &(((struct sockaddr_in *)address->m_addr)->sin_addr);
-  addr->s_addr = htonl(hostaddr);;
+  addr->s_addr = htonl(hostaddr);
 
   return GSOCK_NOERROR;
 }