RaspberrPi project source code
guowenxue
2024-04-11 69b42a43ca4b2d93be203c34f6b45f5de1e32a15
Fix logger.c bug

Signed-off-by: guowenxue <guowenxue@gmail.com>
1 files modified
2 ■■■ changed files
project/socketd/booster/logger.c 2 ●●● patch | view | raw | blame | history
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));
    }
}