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

Log socket() and ioctlsocket() at the correct level.

This commit is contained in:
Daniel Collins 2023-11-19 15:46:31 +00:00
parent 3eda6148c3
commit 55b9793123

View File

@ -325,7 +325,7 @@ static void release_recv_queue(ipx_recv_queue *recv_queue)
SOCKET WSAAPI socket(int af, int type, int protocol) SOCKET WSAAPI socket(int af, int type, int protocol)
{ {
log_printf(LOG_DEBUG, "socket(%d, %d, %d)", af, type, protocol); log_printf(LOG_CALL, "socket(%d, %d, %d)", af, type, protocol);
if(af == AF_IPX) if(af == AF_IPX)
{ {
@ -1793,7 +1793,7 @@ int PASCAL ioctlsocket(SOCKET fd, long cmd, u_long *argp)
if(sock) if(sock)
{ {
log_printf(LOG_DEBUG, "ioctlsocket(%d, %d)", fd, cmd); log_printf(LOG_CALL, "ioctlsocket(%d, %d)", fd, cmd);
if(cmd == FIONREAD && !(sock->flags & IPX_IS_SPX)) if(cmd == FIONREAD && !(sock->flags & IPX_IS_SPX))
{ {