* socket-io.c: make GetHostByName ("") work on windows.
Fixes bug #456723.
svn path=/trunk/mono/; revision=155466
+2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * socket-io.c: make GetHostByName ("") work on windows.
+ Fixes bug #456723.
+
2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* object-internals.h:
}
#endif
+#ifndef HOST_WIN32
he = NULL;
if (*hostname)
he = _wapi_gethostbyname (hostname);
+#else
+ he = _wapi_gethostbyname (hostname);
+#endif
g_free(hostname);
if (*hostname && he==NULL)