aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 16:20:58 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 16:33:58 +0200
commite8d4cb807169dd56e8efc753521a94368dd2f69d (patch)
tree19445ee818d8173c10d620b5a1d34b61fe2be399 /src/net.h
parentfb203cab40881a2c41663e551c285d58402969df (diff)
parent43f510d37d680ca4347878d2fb6f8b97b54e7611 (diff)
Merge pull request #4504
43f510d Convert closesocket 'compat wrapper' to function in netbase (Wladimir J. van der Laan)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 866c9ae783..f029a8d935 100644
--- a/src/net.h
+++ b/src/net.h
@@ -357,8 +357,7 @@ public:
{
if (hSocket != INVALID_SOCKET)
{
- closesocket(hSocket);
- hSocket = INVALID_SOCKET;
+ CloseSocket(hSocket);
}
if (pfilter)
delete pfilter;