aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-06-16 15:55:39 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-08-08 07:40:45 +0200
commitefd6b87811351cde592ac48247190e682ad02aea (patch)
tree0e362f3f4b8cc1bd13764a05433ee84a0bbe4b49 /src/net.h
parent8833acc4c979877993f87c8fdc8a6d14cd072ba2 (diff)
small net cleanup
- add comment for disabling sigpipe - add closing comment in compat.h - remove redundant check in net.h
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net.h b/src/net.h
index 2d9325abf9..a8795a4760 100644
--- a/src/net.h
+++ b/src/net.h
@@ -356,12 +356,11 @@ public:
~CNode()
{
- if (hSocket != INVALID_SOCKET)
- {
- CloseSocket(hSocket);
- }
+ CloseSocket(hSocket);
+
if (pfilter)
delete pfilter;
+
GetNodeSignals().FinalizeNode(GetId());
}