提交 41f7d79f 编写于 作者: S slzhou

fix: fix compilation error

上级 74f2ba76
...@@ -1400,7 +1400,7 @@ void udfcUvHandleError(SClientUvConn *conn) { ...@@ -1400,7 +1400,7 @@ void udfcUvHandleError(SClientUvConn *conn) {
QUEUE_REMOVE(&task->procTaskQueue); QUEUE_REMOVE(&task->procTaskQueue);
uv_sem_post(&task->taskSem); uv_sem_post(&task->taskSem);
} }
if (!uv_is_closing(conn->pipe)) { if (!uv_is_closing((uv_handle_t *)conn->pipe)) {
uv_close((uv_handle_t *)conn->pipe, onUdfcPipeClose); uv_close((uv_handle_t *)conn->pipe, onUdfcPipeClose);
} }
} }
...@@ -1554,7 +1554,7 @@ int32_t udfcStartUvTask(SClientUvTaskNode *uvTask) { ...@@ -1554,7 +1554,7 @@ int32_t udfcStartUvTask(SClientUvTaskNode *uvTask) {
} else { } else {
SClientUvConn *conn = pipe->data; SClientUvConn *conn = pipe->data;
QUEUE_INSERT_TAIL(&conn->taskQueue, &uvTask->connTaskQueue); QUEUE_INSERT_TAIL(&conn->taskQueue, &uvTask->connTaskQueue);
if (!uv_is_closing(uvTask->pipe)) { if (!uv_is_closing((uv_handle_t *)uvTask->pipe)) {
uv_close((uv_handle_t *)uvTask->pipe, onUdfcPipeClose); uv_close((uv_handle_t *)uvTask->pipe, onUdfcPipeClose);
} }
code = 0; code = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册