git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Check for NULL values properly.
[novacoin.git]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
4045b5e
..
a98a416
100644
(file)
--- 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);
}
}