mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
update sdk/frame/small/src/trans_client_stub.c.
Signed-off-by: wangwang <wangwang16@huawei.com>
This commit is contained in:
parent
71842231e6
commit
6d0fff898f
@ -57,7 +57,7 @@ int32_t ClientOnChannelOpened(IpcIo *data, IpcIo *reply)
|
||||
if (channel.isServer) {
|
||||
int32_t udpPort = TransOnChannelOpened(sessionName, &channel);
|
||||
WriteInt32(reply, udpPort);
|
||||
return SOFTBUS_TRANS_CHANNEL_OPEN_FAILED;
|
||||
return udpPort;
|
||||
}
|
||||
ReadInt32(data, &(channel.peerPort));
|
||||
channel.peerIp = (char *)ReadString(data, &size);
|
||||
|
Loading…
Reference in New Issue
Block a user