fix: fix compile error
This commit is contained in:
parent
308bfe7fb8
commit
0a337e82e3
|
@ -381,7 +381,7 @@ void cliHandleResp(SCliConn* conn) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (pMsg && pMsg->type != Release) {
|
||||
if (pMsg == NULL || (pMsg && pMsg->type != Release)) {
|
||||
if (cliAppCb(conn, &transMsg, pMsg) != 0) {
|
||||
return;
|
||||
}
|
||||
|
@ -442,7 +442,7 @@ void cliHandleExceptImpl(SCliConn* pConn, int32_t code) {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if (pMsg && pMsg->type != Release) {
|
||||
if (pMsg == NULL || (pMsg && pMsg->type != Release)) {
|
||||
if (cliAppCb(pConn, &transMsg, pMsg) != 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue