5 Aug
2024
5 Aug
'24
7:16 p.m.
Elizabeth Figura (@zfigura) commented about dlls/ntdll/unix/socket.c:
+ in_data = in_buffer; + out_data = out_buffer; + + TRACE("IOCTL_AFD_WINE_GET_IPX_ADDRESS: adapternum = %d\n", in_data->adapternum); + if(in_data->adapternum < 0) + { + status = STATUS_INVALID_PARAMETER; + break; + } + +#ifdef __linux__ + f = fopen("/proc/net/ipx/interface", "r"); + if (!f) + { + f = fopen("/proc/net/ipx_interface", "r"); + } No need to use braces around a one-line body.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6191#note_77820