mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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
@ -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…
Reference in New Issue
Block a user