small net cleanup

- add comment for disabling sigpipe
- add closing comment in compat.h
- remove redundant check in net.h
This commit is contained in:
Philip Kaufmann
2014-06-16 15:55:39 +02:00
parent 8833acc4c9
commit efd6b87811
3 changed files with 6 additions and 6 deletions

View File

@@ -356,12 +356,11 @@ public:
~CNode()
{
if (hSocket != INVALID_SOCKET)
{
CloseSocket(hSocket);
}
CloseSocket(hSocket);
if (pfilter)
delete pfilter;
GetNodeSignals().FinalizeNode(GetId());
}