git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add CloseSocket (bitcoin@43f510d37d680ca4347878d2fb6f8b97b54e7611)
[novacoin.git]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
56c7b2f
..
b12750c
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-266,8
+266,7
@@
public:
{
if (hSocket != INVALID_SOCKET)
{
- closesocket(hSocket);
- hSocket = INVALID_SOCKET;
+ CloseSocket(hSocket);
}
}