From 69b42a43ca4b2d93be203c34f6b45f5de1e32a15 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 11 Apr 2024 13:13:15 +0800
Subject: [PATCH] Fix logger.c bug

---
 project/socketd/booster/logger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/project/socketd/booster/logger.c b/project/socketd/booster/logger.c
index 1af3b0e..ea93dd7 100644
--- a/project/socketd/booster/logger.c
+++ b/project/socketd/booster/logger.c
@@ -79,7 +79,7 @@
     }
     else
     {
-        if ( (err = pthread_mutex_unlock(l) != 0) )
+        if ( (err = pthread_mutex_unlock(l)) != 0 )
             log_error("Unable to unlock log lock: %s", strerror(err));
     }
 }

--
Gitblit v1.9.1