1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38: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:
Daniel Stenberg 2005-05-10 23:02:37 +00:00
parent 62ab21ce7d
commit a90e33ad71

View File

@ -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;
}