From: svost Date: Sun, 26 Dec 2021 20:49:13 +0000 (+0300) Subject: Fix - add missed cs macros X-Git-Tag: nvc-v0.5.9~23 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=a1b58519a99876a87225984de2c2c45f9445ca18 Fix - add missed cs macros --- diff --git a/src/net.h b/src/net.h index 8d223ad..ec4f77e 100644 --- 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;