refactor transport

This commit is contained in:
Yihao Deng 2024-07-23 11:52:20 +00:00
parent 0b4031ed6a
commit 6eb9774edb
1 changed files with 1 additions and 1 deletions

View File

@ -1599,7 +1599,7 @@ FORCE_INLINE bool cliIsEpsetUpdated(int32_t code, STransConnCtx* pCtx) {
FORCE_INLINE int32_t cliBuildExceptResp(SCliMsg* pMsg, STransMsg* pResp) { FORCE_INLINE int32_t cliBuildExceptResp(SCliMsg* pMsg, STransMsg* pResp) {
if (pMsg == NULL) return -1; if (pMsg == NULL) return -1;
memset(pResp, 0, sizeof(STransMsg)); // memset(pResp, 0, sizeof(STransMsg));
if (pResp->code == 0) { if (pResp->code == 0) {
pResp->code = TSDB_CODE_RPC_BROKEN_LINK; pResp->code = TSDB_CODE_RPC_BROKEN_LINK;