On Mon, 2021-06-28 at 22:39 -0500, Zebediah Figura wrote:
diff --git a/server/sock.c b/server/sock.c index 94dbafe44ee..0657a42427a 100644 --- a/server/sock.c +++ b/server/sock.c @@ -2650,6 +2650,22 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async ) return 0; }
- case IOCTL_AFD_WINE_SET_SO_SNDBUF:
- {
DWORD sndbuf;
if (get_req_data_size() < sizeof(sndbuf))
{
set_error( STATUS_BUFFER_TOO_SMALL );
return 0;
}
sndbuf = *(DWORD *)get_req_data();
if (setsockopt( unix_fd, SOL_SOCKET, SO_RCVBUF, (char *)&sndbuf, sizeof(sndbuf) ) < 0)
set_error( sock_get_ntstatus( errno ) );
return 0;
- }
SO_RCVBUF -> SO_SNDBUF