git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix - add missed cs macros
[novacoin.git]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
8d223ad
..
ec4f77e
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-403,8
+403,10
@@
public:
return;
}
- if (nHeaderStart < 0)
+ if (nHeaderStart < 0) {
+ LEAVE_CRITICAL_SECTION(cs_vSend);
return;
+ }
// Set the size
uint32_t nSize = (uint32_t) vSend.size() - nMessageStart;