fix coredump error
This commit is contained in:
@@ -484,6 +484,7 @@ extern "C" {
|
||||
//标准化日志接口
|
||||
// #define LOGMSG_WITH_TS // 需要时间时再打开
|
||||
|
||||
//已在头文件添加编译校验
|
||||
void format_log_msg(char* buf, size_t buf_size, const char* fmt, ...) {
|
||||
if (!buf || buf_size == 0) return;
|
||||
buf[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user