X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnet.h;h=a98a41641d0ac7babb1ec71a1cf3806b1c5991c1;hb=75744e6526193604bfbcc6be3a3793315556f12c;hp=4045b5e4e57789080da27e33c6a6fd6176b066f2;hpb=3b3a4cb430cf5a7e3665faeaec0ae882b0650336;p=novacoin.git diff --git a/src/net.h b/src/net.h index 4045b5e..a98a416 100644 --- a/src/net.h +++ b/src/net.h @@ -19,7 +19,6 @@ #include "mruset.h" #include "netbase.h" -#include "protocol.h" #include "addrman.h" #include "hash.h" @@ -266,8 +265,7 @@ public: { if (hSocket != INVALID_SOCKET) { - closesocket(hSocket); - hSocket = INVALID_SOCKET; + CloseSocket(hSocket); } }