mirror of
https://github.com/curl/curl.git
synced 2026-06-19 11:25:39 +03:00
comment nits
This commit is contained in:
parent
7556b07d19
commit
06c874437e
1 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue