mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Use MAX_EASY_HANDLES instead of hardcoding the number of handles twice
This commit is contained in:
parent
7735141e73
commit
40153716a3
@ -221,7 +221,7 @@ int test(char *url)
|
|||||||
/* if there's no timeout and we get here on the last handle, we may
|
/* if there's no timeout and we get here on the last handle, we may
|
||||||
already have read the last part of the stream so waiting makes no
|
already have read the last part of the stream so waiting makes no
|
||||||
sense */
|
sense */
|
||||||
if(num_handles == 3) {
|
if(num_handles == MAX_EASY_HANDLES) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user