aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-01 11:52:07 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-01 11:52:07 -0400
commitdd7868364d9a14349ff82f74fc451db5e6b6b7b9 (patch)
treeed4142635ca823364fd272a010200380b8776412 /src/net.cpp
parentf662cefd8552f07548dcca9dcf84a952650fab6f (diff)
parente4dde849ae5544383703ef2d73592677e6c528ad (diff)
Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoin
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index c498c40106..500d0174ef 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -45,10 +45,10 @@ bool fClient = false;
bool fAllowDNS = false;
uint64 nLocalServices = (fClient ? 0 : NODE_NETWORK);
CAddress addrLocalHost("0.0.0.0", 0, false, nLocalServices);
-CNode* pnodeLocalHost = NULL;
+static CNode* pnodeLocalHost = NULL;
uint64 nLocalHostNonce = 0;
array<int, 10> vnThreadsRunning;
-SOCKET hListenSocket = INVALID_SOCKET;
+static SOCKET hListenSocket = INVALID_SOCKET;
vector<CNode*> vNodes;
CCriticalSection cs_vNodes;