aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-03-29 11:32:16 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-08-17 10:22:28 -0400
commit865ed8a1e5c587468a40756d46bcbc1c5a12bb06 (patch)
tree178a78d9057931de2a0db1099193efe73da6d6a1 /src/net.h
parentc7286112efe5c9ee7924aa387c8f4280473a72a8 (diff)
Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can cause deadlocks
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 37fab7f8b0..3b098e1a82 100644
--- a/src/net.h
+++ b/src/net.h
@@ -677,7 +677,7 @@ public:
void BeginMessage(const char* pszCommand)
{
- cs_vSend.Enter();
+ cs_vSend.Enter("cs_vSend", __FILE__, __LINE__);
if (nHeaderStart != -1)
AbortMessage();
nHeaderStart = vSend.size();