chore: code optimization
This commit is contained in:
parent
64281ece98
commit
cd494803ee
|
@ -90,8 +90,12 @@ static int32_t hbUpdateUserAuthInfo(SAppHbMgr *pAppHbMgr, SUserAuthBatchRsp *bat
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!pRsp) {
|
||||
releaseTscObj(pReq->connKey.tscRid);
|
||||
break;
|
||||
}
|
||||
if (pRsp) {
|
||||
}
|
||||
|
||||
pTscObj->authVer = pRsp->version;
|
||||
|
||||
if (pTscObj->sysInfo != pRsp->sysInfo) {
|
||||
|
@ -112,11 +116,6 @@ static int32_t hbUpdateUserAuthInfo(SAppHbMgr *pAppHbMgr, SUserAuthBatchRsp *bat
|
|||
atomic_load_32(&passInfo->ver), pTscObj->id);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
releaseTscObj(pReq->connKey.tscRid);
|
||||
break;
|
||||
}
|
||||
|
||||
releaseTscObj(pReq->connKey.tscRid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue