March 12, 2026
2:59 a.m.
Hans Leidekker (@hans) commented about dlls/wbemprox/tests/query.c:
+ const WCHAR* dot_pos; + const WCHAR* colon_pos; + + if (!ip) return L"Invalid"; + + dot_pos = wcschr(ip, L'.'); + colon_pos = wcschr(ip, L':'); + + if (dot_pos && colon_pos) return L"Unknow"; + if (dot_pos) return L"IPv4"; + else if (colon_pos) return L"IPv6"; + + return L"Unknow"; +} + +static void _check_ip_address_oreder( ULONG line, IWbemClassObject *obj ) `static void check_ip_address_order( ULONG line, IWbemClassObject *obj )`
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10272#note_131943