fix error introduced in last commit

This commit is contained in:
Yang Tse 2007-03-29 00:11:55 +00:00
parent 42a7905205
commit 3d5a8515a6

View File

@ -237,6 +237,7 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_m
ret |= CSELECT_IN;
if (pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL))
ret |= CSELECT_ERR;
num++;
}
if (writefd != CURL_SOCKET_BAD) {
if (pfd[num].revents & (POLLWRNORM|POLLOUT))