提交 0a337e82 编写于 作者: dengyihao's avatar dengyihao

fix: fix compile error

上级 308bfe7f
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册