Merge pull request #3753 from DavidLin1577/patch-4

Update tcpclient.c
This commit is contained in:
Bernard Xiong
2020-07-18 17:17:42 +08:00
committed by GitHub
+1 -1
View File
@@ -129,7 +129,7 @@ static void tcpclient(void *arg)
ret = send(sock, send_data, rt_strlen(send_data), 0);
if (ret < 0)
{
/* 接收失败,关闭这个连接 */
/* 发送失败,关闭这个连接 */
LOG_I("send error, close the socket.");
goto __exit;
}