mirror of
https://github.com/curl/curl.git
synced 2026-04-18 22:51:41 +03:00
Compiler warning fix
This commit is contained in:
parent
8274447dd9
commit
943f0733bb
1 changed files with 2 additions and 2 deletions
|
|
@ -41,9 +41,9 @@ static CURLMcode perform(CURLM * multi)
|
|||
FD_ZERO(&fdexcep);
|
||||
curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd);
|
||||
if (maxfd < 0)
|
||||
return -1;
|
||||
return (CURLMcode) ~CURLM_OK;
|
||||
if (select(maxfd + 1, &fdread, &fdwrite, &fdexcep, 0) == -1)
|
||||
return -1;
|
||||
return (CURLMcode) ~CURLM_OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue