mirror of
https://github.com/curl/curl.git
synced 2026-07-16 09:57:16 +03:00
Argument to CURLMOPT_MAXCONNECTS must be a long
This commit is contained in:
parent
abe61b9926
commit
0eb083e979
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ int main(void)
|
|||
|
||||
/* we can optionally limit the total amount of connections this multi handle
|
||||
uses */
|
||||
curl_multi_setopt(cm, CURLMOPT_MAXCONNECTS, MAX);
|
||||
curl_multi_setopt(cm, CURLMOPT_MAXCONNECTS, (long)MAX);
|
||||
|
||||
for (C = 0; C < MAX; ++C) {
|
||||
init(cm, C);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue