소스 검색

Merge pull request #3753 from DavidLin1577/patch-4

Update tcpclient.c
Bernard Xiong 5 년 전
부모
커밋
8f4333d21f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/network/tcpclient.c

+ 1 - 1
examples/network/tcpclient.c

@@ -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;
         }