mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
unit2600: make sure numerical curl_easy_setopt sets long
Follow-up to 671158242d
Reported-by: Marcel Raad
Fixes #10410
Closes #10419
This commit is contained in:
parent
4f051d0e54
commit
51e9cff268
@ -270,8 +270,10 @@ static void test_connect(struct test_case *tc)
|
||||
list = curl_slist_append(NULL, tc->resolve_info);
|
||||
fail_unless(list, "error allocating resolve list entry");
|
||||
curl_easy_setopt(easy, CURLOPT_RESOLVE, list);
|
||||
curl_easy_setopt(easy, CURLOPT_CONNECTTIMEOUT_MS, tc->connect_timeout_ms);
|
||||
curl_easy_setopt(easy, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, tc->he_timeout_ms);
|
||||
curl_easy_setopt(easy, CURLOPT_CONNECTTIMEOUT_MS,
|
||||
(long)tc->connect_timeout_ms);
|
||||
curl_easy_setopt(easy, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS,
|
||||
(long)tc->he_timeout_ms);
|
||||
|
||||
curl_easy_setopt(easy, CURLOPT_URL, tc->url);
|
||||
memset(&tr, 0, sizeof(tr));
|
||||
|
Loading…
Reference in New Issue
Block a user