15 Sep
2023
15 Sep
'23
10:05 a.m.
Huw Davies (@huw) commented about dlls/iphlpapi/tests/iphlpapi.c:
ok( ret == ERROR_NOT_SUPPORTED, "got %lu\n", ret ); }
+static DWORD get_extended_udp_table( ULONG family, UDP_TABLE_CLASS class, void **table ) +{ + DWORD ret, size = 0; + + *table = NULL; + ret = pGetExtendedUdpTable( NULL, &size, TRUE, family, class, 0 ); + if (ret != ERROR_INSUFFICIENT_BUFFER) return ret; + + *table = malloc( size ); + ret = pGetExtendedUdpTable( *table, &size, TRUE, family, class, 0 );
There's a trailing space here and after the call below. I'll approve the MR, but feel free to push a fix. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3833#note_45508