git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
63058be
)
Add missed lock
author
svost
<svost@users.noreply.github.com>
Wed, 8 Feb 2017 09:24:34 +0000 (13:24 +0400)
committer
GitHub
<noreply@github.com>
Wed, 8 Feb 2017 09:24:34 +0000 (13:24 +0400)
src/net.cpp
patch
|
blob
|
history
diff --git
a/src/net.cpp
b/src/net.cpp
index
4cbe70e
..
91e4352
100644
(file)
--- a/
src/net.cpp
+++ b/
src/net.cpp
@@
-720,6
+720,7
@@
CCriticalSection CNode::cs_setBanned;
void CNode::ClearBanned()
{
+ LOCK(cs_setBanned);
setBanned.clear();
}