mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
commit
24d148fef8
@ -928,11 +928,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