fix: fix compile error

This commit is contained in:
yihaoDeng 2022-09-09 14:47:49 +08:00
parent edf3f6320d
commit 11a8237975
1 changed files with 18 additions and 16 deletions

View File

@ -201,7 +201,9 @@ static void cliReleaseUnfinishedMsg(SCliConn* conn) {
int i = 0, sz = transQueueSize(&conn->cliMsgs); \
for (; i < sz; i++) { \
pMsg = transQueueGet(&conn->cliMsgs, i); \
if (pMsg != NULL && pMsg->ctx != NULL && (uint64_t)pMsg->ctx->ahandle == ahandle) { \
if (pMsg->ctx != NULL && (uint64_t)pMsg->ctx->ahandle == ahandle) { \
break; \
} else if (pMsg->msg.info.ahandle == (void*)0x9527) { \
break; \
} \
} \