diff options
-rw-r--r-- | lib/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/select.c b/lib/select.c index 7b55138df..357f79643 100644 --- a/lib/select.c +++ b/lib/select.c @@ -146,7 +146,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms) VERIFY_SOCK(writefd); FD_SET(writefd, &fds_write); FD_SET(writefd, &fds_err); - if (writefd > maxfd)s + if (writefd > maxfd) maxfd = writefd; } |