update core/transmission/trans_channel/udp_negotiation/src/trans_udp_negotiation.c.

Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
This commit is contained in:
张再尧 2022-10-25 13:34:34 +00:00 committed by Gitee
parent a326a82ced
commit 26c331118a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -330,13 +330,13 @@ static int32_t SendReplyUdpInfo(AppInfo *appInfo, int64_t authId, int64_t seq)
cJSON_Delete(replyMsg);
return SOFTBUS_ERR;
}
if (sendUdpInfo(replyMsg, authId, seq) != SOFTBUS_OK) {
SoftBusLog(SOFTBUS_LOG_CONN, SOFTBUS_LOG_ERROR, "SendReplyeErrInfo failed.");
cJSON_Delete(replyMsg);
return SOFTBUS_ERR;
}
cJSON_Delete(replyMsg);
SoftBusLog(SOFTBUS_LOG_TRAN, SOFTBUS_LOG_INFO, "udp send reply info out.");
return SOFTBUS_OK;