summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index cda07a2..453acd4 100644
--- a/src/module.c
+++ b/src/module.c
@@ -165,6 +165,7 @@ lock_mutex (void *mutex)
#else /* !_WIN32 */
+ {
int res = pthread_mutex_lock(mutex);
if(res != 0)
{