Commit 283c83e0 authored by Denis Pauk's avatar Denis Pauk Committed by Daniel Veillard

run close socket on Solaris, same as we do on other platforms

https://bugzilla.gnome.org/show_bug.cgi?id=705188
parent c570b379
......@@ -1003,6 +1003,7 @@ xmlNanoHTTPConnectAttempt(struct sockaddr *addr)
0) {
/* Solaris error code */
__xmlIOErr(XML_FROM_HTTP, 0, "getsockopt failed\n");
closesocket(s);
return INVALID_SOCKET;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment