]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ftp: remove misleading comments
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Oct 2025 08:34:22 +0000 (10:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Oct 2025 13:58:14 +0000 (15:58 +0200)
They indicated that sockets would not be closed but they are.

Reported-by: Joshua Rogers
Closes #18871

lib/ftp.c

index 402c13a07c207d553f3bdf7e6746cefe871650f6..32d3c445df4ee707aba4bf5386c07fc41e932201 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2418,7 +2418,6 @@ static CURLcode ftp_state_stor_resp(struct Curl_easy *data,
   if(ftpcode >= 400) {
     failf(data, "Failed FTP upload: %0d", ftpcode);
     ftp_state(data, ftpc, FTP_STOP);
-    /* oops, we never close the sockets! */
     return CURLE_UPLOAD_FAILED;
   }