project/socketd/booster/logger.c
@@ -4,11 +4,11 @@ * * Filename: logger.c * Description: This file is common logger API functions * * * Version: 1.0.0(11/08/23) * Author: Guo Wenxue <guowenxue@gmail.com> * ChangeLog: 1, Release initial version on "11/08/23 16:18:43" * * ********************************************************************************/ #include <stdio.h> @@ -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)); } }