fix: make CI happy

This commit is contained in:
yihaoDeng 2022-09-10 17:24:23 +08:00
parent eac5d2c497
commit d1d35c48e4
1 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ void cliHandleResp(SCliConn* conn) {
return;
}
if (pMsg->type != Release) {
if (pMsg && pMsg->type != Release) {
if (cliAppCb(conn, &transMsg, pMsg) != 0) {
return;
}
@ -437,7 +437,7 @@ void cliHandleExceptImpl(SCliConn* pConn, int32_t code) {
continue;
}
}
if (pMsg->type != Release) {
if (pMsg && pMsg->type != Release) {
if (cliAppCb(pConn, &transMsg, pMsg) != 0) {
return;
}