summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-05-31 11:24:58 +0800
committeryangwei <[email protected]>2023-05-31 11:26:49 +0800
commit1dd9e1e0f236b8923b4351152477921277c2a103 (patch)
tree97bb1e9cbc1596344b9fb93248142870bce7b194
parent7fa29b1a00b1d33c85f73686260d674b66ffb9e9 (diff)
↩ revert(MESA_handle_logger.h): 接口回滚,句柄继续使用已有的void*定义v2.0.12
-rw-r--r--src/MESA_handle_logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MESA_handle_logger.c b/src/MESA_handle_logger.c
index d9b8274..4021a74 100644
--- a/src/MESA_handle_logger.c
+++ b/src/MESA_handle_logger.c
@@ -224,7 +224,7 @@ int MESA_handle_runtime_log_level_enabled(void *v_handle, const int level)
void MESA_handle_runtime_log(void *v_handle, int level, const char *module, const char *fmt, ...)
{
- struct log_handle_t *handle = (struct log_handle_t *)handle;
+ struct log_handle_t *handle = (struct log_handle_t *)v_handle;
if(handle == NULL || handle->runtime_log_file == NULL)return;
if(handle->zc == NULL)return;