summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar snowdrop2004-10-18 09:31:58 +0000
committerGravatar snowdrop2004-10-18 09:31:58 +0000
commit00f3e0bc9b3d986f839753a289ce6021a2bc8f41 (patch)
tree1fc32b623726eb74029c4987c3b3309ff19bce13
parent9b300defa7ce03d8e2b78d6c0352f0245fcc7765 (diff)
downloadcsoap-00f3e0bc9b3d986f839753a289ce6021a2bc8f41.tar.gz
csoap-00f3e0bc9b3d986f839753a289ce6021a2bc8f41.tar.bz2
uncommented closesocket()
-rw-r--r--nanohttp/nanohttp-socket.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nanohttp/nanohttp-socket.c b/nanohttp/nanohttp-socket.c
index e437df7..487c1a3 100644
--- a/nanohttp/nanohttp-socket.c
+++ b/nanohttp/nanohttp-socket.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-socket.c,v 1.24 2004/10/15 15:10:37 snowdrop Exp $
+* $Id: nanohttp-socket.c,v 1.25 2004/10/18 09:31:58 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -262,9 +262,9 @@ hsocket_close (hsocket_t sock)
_linger.l_linger = 30000;
setsockopt(sock, SOL_SOCKET, SO_LINGER, (const char*)&_linger, sizeof(struct linger));
-
+*/
closesocket (sock);
-*/
+
#else
/*
struct linger _linger;
@@ -273,8 +273,8 @@ hsocket_close (hsocket_t sock)
_linger.l_linger = 30000;
setsockopt(sock, SOL_SOCKET, SO_LINGER, (const char*)&_linger, sizeof(struct linger));
-
- close (sock);*/
+*/
+ close (sock);
#endif
}