feat: enh redirect
This commit is contained in:
parent
ad29b90cc2
commit
ce21baaa86
|
@ -1026,7 +1026,7 @@ bool cliTryToExtractEpSet(STransMsg* pResp, SEpSet* dst) {
|
||||||
int32_t bufLen = pResp->contLen - tlen;
|
int32_t bufLen = pResp->contLen - tlen;
|
||||||
char* buf = rpcMallocCont(bufLen);
|
char* buf = rpcMallocCont(bufLen);
|
||||||
|
|
||||||
memcpy(buf, pResp->pCont + tlen, bufLen);
|
memcpy(buf, (char*)pResp->pCont + tlen, bufLen);
|
||||||
|
|
||||||
pResp->pCont = buf;
|
pResp->pCont = buf;
|
||||||
pResp->contLen = bufLen;
|
pResp->contLen = bufLen;
|
||||||
|
|
Loading…
Reference in New Issue