correct compile error

master
YuQing 2025-11-03 15:22:45 +08:00
parent 1b2f521b99
commit 688211fbcd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static int sf_uring_cancel_done(int sock, const int event, void *arg)
struct fast_task_info *task; struct fast_task_info *task;
task = (struct fast_task_info *)arg; task = (struct fast_task_info *)arg;
if (event != IOEVENT_TIMEOUT) ECANCEL{ if (event != IOEVENT_TIMEOUT) {
if (task->handler->use_io_uring || (FC_URING_OP_TYPE(task) != if (task->handler->use_io_uring || (FC_URING_OP_TYPE(task) !=
IORING_OP_NOP && task->event.res == -ECANCELED)) IORING_OP_NOP && task->event.res == -ECANCELED))
{ {