[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic f
|
From: |
@rockdaboot |
|
Subject: |
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic function (!538) |
|
Date: |
Sun, 14 Jan 2024 16:33:15 +0000 |
Tim Rühsen started a new discussion on tests/test-timestamping.c:
https://gitlab.com/gnuwget/wget2/-/merge_requests/538#note_1726585907
> },
> };
>
> - int n_urls = countof(urls);
> // functions won't come back if an error occurs
> wget_test_start_server(
> - WGET_TEST_RESPONSE_URLS, &urls, n_urls,
> + WGET_TEST_RESPONSE_URLS, &urls, countof(urls),
> WGET_TEST_FEATURE_MHD,
> 0);
>
> + int n_urls = countof(urls);
Then also let's get rid of n_urls here (e.g. with `for (unsigned i = 0; i <
countof(urls); i++)`)
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/merge_requests/538#note_1726585907
You're receiving this email because of your account on gitlab.com.
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic function (!538), @rockdaboot, 2024/01/20
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic function (!538), @rockdaboot, 2024/01/20
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic function (!538), @rockdaboot, 2024/01/20
Re: wget2 | * tests/test-timestamping.c: Pass correct type to variadic function (!538), @rockdaboot, 2024/01/20