From f15bb75e5caa22f96d5ecb06f53cc2d4eac289d2 Mon Sep 17 00:00:00 2001 From: jxb2018 <1369375419@qq.com> Date: Tue, 19 Sep 2023 15:04:26 +0800 Subject: [PATCH] fixed a bug related EPOLL_THREAD_INIT --- qtfs/qtfs_common/conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtfs/qtfs_common/conn.c b/qtfs/qtfs_common/conn.c index 09efba2..b493964 100644 --- a/qtfs/qtfs_common/conn.c +++ b/qtfs/qtfs_common/conn.c @@ -807,7 +807,7 @@ struct qtfs_conn_var_s *qtfs_epoll_establish_conn(void) ret = qtfs_sm_active(pvar); if (ret) { qtfs_err("qtfs epoll get param active new param failed, ret:%d state:%s", ret, QTCONN_CUR_STATE(pvar)); - return pvar; + return NULL; } qtfs_info("qtfs create new epoll param state:%s", QTCONN_CUR_STATE(pvar)); -- Gitee