mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-26 18:30:47 +00:00
update core/authentication/src/auth_tcp_connection.c.
Signed-off-by: ym <yuanmeng36@huawei.com>
This commit is contained in:
parent
1393e8060a
commit
86c257c9b5
@ -547,7 +547,7 @@ int32_t SocketPostBytes(int32_t fd, const AuthDataHead *head, const uint8_t *dat
|
||||
SoftBusFree(buf);
|
||||
if (ret != (ssize_t)size) {
|
||||
AUTH_LOGE(AUTH_CONN, "fail. ret=%{public}zd", ret);
|
||||
return SOFTBUS_AUTH_SEND_FAIL;
|
||||
return SOFTBUS_TCP_SOCKET_ERR;
|
||||
}
|
||||
return SOFTBUS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user