# HG changeset patch # User Matt Corallo # Date 1336542033 14400 # Node ID e9afec434f4da293ff88046590a013238fd34af8 # Parent 05cc429f7bf98c2f7ed1f0518061aff7871edf08 Fix DEBUG_LOCKCONTENTION diff --git a/src/util.h b/src/util.h --- a/src/util.h +++ b/src/util.h @@ -217,9 +217,11 @@ { printf("LOCKCONTENTION: %s\n", pszName); printf("Locker: %s:%d\n", pszFile, nLine); +#endif + lock.lock(); +#ifdef DEBUG_LOCKCONTENTION } #endif - lock.lock(); } }