From 06c874437e723878dcab532e52f1143e863eefb0 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 12 Jun 2026 17:42:28 +0200 Subject: [PATCH] comment nits --- lib/cf-socket.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/cf-socket.c b/lib/cf-socket.c index 4a21c00262..bfd3885e77 100644 --- a/lib/cf-socket.c +++ b/lib/cf-socket.c @@ -1547,10 +1547,9 @@ static CURLcode cf_socket_send(struct Curl_cfilter *cf, struct Curl_easy *data, if(!curlx_sztouz(rv, pnwritten)) { int sockerr = SOCKERRNO; - - /* errno may be EWOULDBLOCK or on some systems EAGAIN when it returned - due to its inability to send off data without blocking. We therefore - treat both error codes the same here */ + /* The socket error may be EWOULDBLOCK or on some systems EAGAIN when it + returned due to its inability to read data without blocking. We + therefore treat both error codes the same here */ if(SOCK_EWOULDBLOCK_EAGAIN(sockerr) #ifndef USE_WINSOCK || (sockerr == SOCKEINTR) || (sockerr == SOCKEINPROGRESS)