[libxml2] run close socket on Solaris, same as we do on other platforms
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] run close socket on Solaris, same as we do on other platforms
- Date: Mon, 30 Sep 2013 02:52:59 +0000 (UTC)
commit 283c83e0d3bca73b61c1d116c05fe4ccaa96ec04
Author: Denis Pauk <pauk denis gmail com>
Date: Tue Aug 6 09:49:42 2013 +0300
run close socket on Solaris, same as we do on other platforms
https://bugzilla.gnome.org/show_bug.cgi?id=705188
nanohttp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/nanohttp.c b/nanohttp.c
index ac47ea6..640b350 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]