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:
parent
2ad2707f89
commit
6c2a93e542
@ -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. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user