fix: opt trans debug info

This commit is contained in:
yihaoDeng 2023-02-24 10:13:28 +08:00
parent 6ff76e57ae
commit 5025f1a38a
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,7 @@ static void cliWalkCb(uv_handle_t* handle, void* arg);
do { \
char* t = key; \
int16_t len = strlen(ip); \
memcpy(t, ip, len); \
t += len; \
if (ip ! = NULL) memcpy(t, ip, len); \
t[len] = ':'; \
titoa(port, 10, &t[len + 1]); \
} while (0)
@ -2312,6 +2311,7 @@ int transSendRequest(void* shandle, const SEpSet* pEpSet, STransMsg* pReq, STran
STransConnCtx* pCtx = taosMemoryCalloc(1, sizeof(STransConnCtx));
pCtx->epSet = *pEpSet;
pCtx->origEpSet = *pEpSet;
pCtx->ahandle = pReq->info.ahandle;
pCtx->msgType = pReq->msgType;