Skip to content
Snippets Groups Projects
Commit 943f0733 authored by Yang Tse's avatar Yang Tse
Browse files

Compiler warning fix

parent 8274447d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment