Commit a90e33ad authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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...
parent 62ab21ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }