refactor transport
This commit is contained in:
parent
0b4031ed6a
commit
6eb9774edb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue