feat: enh redirect

This commit is contained in:
yihaoDeng 2022-06-29 10:44:18 +08:00
parent ad29b90cc2
commit ce21baaa86
1 changed files with 1 additions and 1 deletions

View File

@ -1026,7 +1026,7 @@ bool cliTryToExtractEpSet(STransMsg* pResp, SEpSet* dst) {
int32_t bufLen = pResp->contLen - tlen;
char* buf = rpcMallocCont(bufLen);
memcpy(buf, pResp->pCont + tlen, bufLen);
memcpy(buf, (char*)pResp->pCont + tlen, bufLen);
pResp->pCont = buf;
pResp->contLen = bufLen;