mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
auth
Signed-off-by: rongguanlin <rongguanlin@huawei.com> Change-Id: Idfe5436872fe36822f574c80aae860bb1f7fa2d7
This commit is contained in:
parent
0f089c8f3f
commit
799ec802fb
@ -923,11 +923,13 @@ static int32_t UdpOpenAuthConn(const char *peerUdid, uint32_t requestId, bool is
|
||||
ret = AuthOpenConn(&auth, requestId, &cb, isMeta);
|
||||
if (ret != SOFTBUS_OK) {
|
||||
TRANS_LOGE(TRANS_CTRL, "open fail: ret=%{public}d", ret);
|
||||
TransCloseUdpChannelByRequestId(requestId);
|
||||
return ret;
|
||||
}
|
||||
ret = CheckAuthConnStatus(requestId);
|
||||
if (ret != SOFTBUS_OK) {
|
||||
TRANS_LOGE(TRANS_CTRL, "status check failed: ret=%{public}d", ret);
|
||||
TransCloseUdpChannelByRequestId(requestId);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user