[self-assign]: Fix self-assignment
This commit is contained in:
parent
c4f96ffc98
commit
95bc9aa96f
|
@ -2005,7 +2005,6 @@ static SVgroupsInfo* createVgroupInfoFromMsg(char* pMsg, int32_t* size, uint64_t
|
||||||
|
|
||||||
SVgroupMsg *vmsg = &pVgroupMsg->vgroups[j];
|
SVgroupMsg *vmsg = &pVgroupMsg->vgroups[j];
|
||||||
vmsg->vgId = htonl(vmsg->vgId);
|
vmsg->vgId = htonl(vmsg->vgId);
|
||||||
vmsg->numOfEps = vmsg->numOfEps;
|
|
||||||
for (int32_t k = 0; k < vmsg->numOfEps; ++k) {
|
for (int32_t k = 0; k < vmsg->numOfEps; ++k) {
|
||||||
vmsg->epAddr[k].port = htons(vmsg->epAddr[k].port);
|
vmsg->epAddr[k].port = htons(vmsg->epAddr[k].port);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue