mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
Hm, this doesn't feel right. The error bits returned from Curl_select() can
be returned at times when we want to ignore them. Test case 160 fails on Linux, so I modify the comparison to check for _only_ the error bit set...
This commit is contained in:
parent
62ab21ce7d
commit
a90e33ad71
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
fd_write = CURL_SOCKET_BAD;
|
||||
|
||||
select_res = Curl_select(fd_read, fd_write, 0);
|
||||
if(select_res & CSELECT_ERR) {
|
||||
if(select_res == CSELECT_ERR) {
|
||||
failf(data, "select/poll returned error");
|
||||
return CURLE_SEND_ERROR;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue