update core/transmission/trans_channel/proxy/src/softbus_proxychannel_listener.c.

Signed-off-by: 肖兴 <xiaoxing12@huawei.com>
This commit is contained in:
肖兴 2023-12-25 10:03:11 +00:00 committed by Gitee
parent 9c1a99946e
commit d90eca994b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -66,7 +66,7 @@ static int32_t NotifyNormalChannelOpened(int32_t channelId, const AppInfo *appIn
info.algorithm = appInfo->algorithm;
info.crc = appInfo->crc;
info.routeType = appInfo->routeType;
info.businessType = appInfo->appType == APP_TYPE_AUTH ? BUSINESS_TYPE_NOT_CARE : appInfo->businessType;
info.businessType = (int32_t)(appInfo->appType == APP_TYPE_AUTH ? BUSINESS_TYPE_NOT_CARE : appInfo->businessType);
info.autoCloseTime = appInfo->autoCloseTime;
info.myHandleId = appInfo->myHandleId;
info.peerHandleId = appInfo->peerHandleId;