1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Updated ioctlsocket to work with SPX sockets.

This commit is contained in:
Daniel Collins 2014-01-05 15:28:31 +00:00
parent 2ad2707f89
commit 6c2a93e542

View File

@ -1140,7 +1140,7 @@ int PASCAL ioctlsocket(SOCKET fd, long cmd, u_long *argp)
{
log_printf(LOG_DEBUG, "ioctlsocket(%d, %d)", fd, cmd);
if(cmd == FIONREAD)
if(cmd == FIONREAD && !(sock->flags & IPX_IS_SPX))
{
/* Test to see if data is waiting. */