mirror of
https://github.com/curl/curl.git
synced 2026-07-28 10:13:08 +03:00
additional renames of Curl_ourerrno => Curl_sockerrno
This commit is contained in:
parent
e85e30546c
commit
9bece2b313
5 changed files with 6 additions and 6 deletions
|
|
@ -152,7 +152,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
|
|||
|
||||
do {
|
||||
r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout);
|
||||
} while((r == -1) && (Curl_ourerrno() == EINTR));
|
||||
} while((r == -1) && (Curl_sockerrno() == EINTR));
|
||||
|
||||
if (r < 0)
|
||||
return -1;
|
||||
|
|
@ -237,7 +237,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
|
|||
|
||||
do {
|
||||
r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout);
|
||||
} while((r == -1) && (Curl_ourerrno() == EINTR));
|
||||
} while((r == -1) && (Curl_sockerrno() == EINTR));
|
||||
|
||||
if (r < 0)
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue