mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
comment cleanups
This commit is contained in:
parent
483c140a51
commit
62b92b22df
2 changed files with 3 additions and 3 deletions
|
|
@ -1548,7 +1548,7 @@ static CURLcode cf_socket_send(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
if(!curlx_sztouz(rv, pnwritten)) {
|
||||
int sockerr = SOCKERRNO;
|
||||
/* The socket error may be EWOULDBLOCK or on some systems EAGAIN when
|
||||
it returned due to its inability to read data without blocking.
|
||||
it returned due to its inability to send off data without blocking.
|
||||
We therefore treat both error codes the same here */
|
||||
if(SOCK_EWOULDBLOCK_EAGAIN(sockerr)
|
||||
#ifndef USE_WINSOCK
|
||||
|
|
@ -1607,7 +1607,7 @@ static CURLcode cf_socket_recv(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
if(!curlx_sztouz(rv, pnread)) {
|
||||
int sockerr = SOCKERRNO;
|
||||
/* The socket error may be EWOULDBLOCK or on some systems EAGAIN when
|
||||
it returned due to its inability to send off data without blocking.
|
||||
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
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ static int wakeup_inet(curl_socket_t socks[2], bool nonblocking)
|
|||
if(curlx_timediff_ms(curlx_now(), start) > (60 * 1000))
|
||||
goto error;
|
||||
/* The socket error may be EWOULDBLOCK or on some systems EAGAIN when
|
||||
it returned due to its inability to send off data without blocking.
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue