[PATCH 5/7] ws2_32/tests: Add tests for setting and getting socket options with shorter length.

Zebediah Figura zfigura at codeweavers.com
Mon Mar 7 13:40:16 CST 2022


On 3/5/22 13:04, Paul Gofman wrote:
> +        winetest_pop_context();
> +
> +        for (j = 0; j < ARRAY_SIZE(test_optsize[i].sizes); ++j)
> +        {
> +            size = 1 << j;
> +            winetest_push_context("i %u, level %d, optname %d, len %u",
> +                    i, test_optsize[i].level, test_optsize[i].optname, size);

Note that contexts are nestable, so you don't need to pop before the 
inner loop.



More information about the wine-devel mailing list