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