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

Fixed undefined behaviour warning from typo.

This commit is contained in:
Daniel Collins 2011-07-12 13:28:57 +00:00
parent 877edb3d85
commit 6a288558b0

View File

@ -145,7 +145,7 @@ SOCKET WSAAPI socket(int af, int type, int protocol) {
}
nsock->flags = IPX_SEND | IPX_RECV;
nsock->s_ptype = (protocol ? nsock->s_ptype = NSPROTO_IPX - protocol : 0);
nsock->s_ptype = (protocol ? NSPROTO_IPX - protocol : 0);
lock_mutex();