From: Matt Corallo Date: Wed, 9 May 2012 05:40:33 +0000 (-0400) Subject: Fix DEBUG_LOCKCONTENTION X-Git-Tag: v0.4.0-unstable~129^2~1^2~10 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=7700b94d33f6b7b6c554aa6e623f6e3a86d0ef0f Fix DEBUG_LOCKCONTENTION --- diff --git a/src/util.h b/src/util.h index 15ccf82..f2a70d8 100644 --- a/src/util.h +++ b/src/util.h @@ -217,9 +217,11 @@ public: { printf("LOCKCONTENTION: %s\n", pszName); printf("Locker: %s:%d\n", pszFile, nLine); - } #endif lock.lock(); +#ifdef DEBUG_LOCKCONTENTION + } +#endif } }