ithewei 6 lat temu
rodzic
commit
dba5cbbe96
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      protocol/ftp.c

+ 2 - 2
protocol/ftp.c

@@ -134,8 +134,8 @@ int ftp_download_with_cb(ftp_handle_t* hftp, const char* filepath, ftp_download_
         return ERR_RECV;
     }
     //printf("< %s", hftp->recvbuf);
-    // you can new thread to recv data
     {
+        // you can create thread to recv data
         char recvbuf[1024];
         int ntotal = 0;
         while (1) {
@@ -192,7 +192,7 @@ int ftp_upload(ftp_handle_t* hftp, const char* local_filepath, const char* remot
     }
     //printf("< %s", hftp->recvbuf);
     {
-        // you can new thread to send data
+        // you can create thread to send data
         FILE* fp = fopen(local_filepath, "r");
         if (fp == NULL) {
             closesocket(sockfd);