git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5728179
)
Fix - add missed cs macros
author
svost
<svost@users.noreply.github.com>
Sun, 26 Dec 2021 20:49:13 +0000 (23:49 +0300)
committer
GitHub
<noreply@github.com>
Sun, 26 Dec 2021 20:49:13 +0000 (23:49 +0300)
src/net.h
patch
|
blob
|
history
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;