X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnet.h;h=a98a41641d0ac7babb1ec71a1cf3806b1c5991c1;hb=9d14e64825d95061ea0857267646dfcb3d62e07a;hp=56c7b2f0b9203cfe1386d9e80878b83c36b38c74;hpb=1c7ed42093c5935e3958584ed98a2b03466a0023;p=novacoin.git diff --git a/src/net.h b/src/net.h index 56c7b2f..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" @@ -77,7 +76,7 @@ CAddress GetLocalAddress(const CNetAddr *paddrPeer = NULL); enum { MSG_TX = 1, - MSG_BLOCK, + MSG_BLOCK }; class CRequestTracker @@ -266,8 +265,7 @@ public: { if (hSocket != INVALID_SOCKET) { - closesocket(hSocket); - hSocket = INVALID_SOCKET; + CloseSocket(hSocket); } }