From aa518a92134dca4cce46bd51c25d44f7684ed074 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 25 Mar 2022 16:07:07 +0800 Subject: [PATCH] feature/qnode --- source/libs/transport/src/transSrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/transport/src/transSrv.c b/source/libs/transport/src/transSrv.c index 3950a42ef0..787c538f2a 100644 --- a/source/libs/transport/src/transSrv.c +++ b/source/libs/transport/src/transSrv.c @@ -292,7 +292,7 @@ void uvOnSendCb(uv_write_t* req, int status) { } transQueuePop(&conn->srvMsgs); tfree(msg); - msg = (SSrvMsg*)transQueueGet(&conn->srvMsgs, 0); + msg = (SSrvMsg*)transQueuePop(&conn->srvMsgs); if (msg != NULL) { uvStartSendRespInternal(msg); } -- GitLab