From 2c971f2fcf6c6322a0ea584b2af4c3cef20d3d63 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 27 May 2024 17:29:22 +0800
Subject: [PATCH] update dump_buf in logger.c

---
 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