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:
parent
877edb3d85
commit
6a288558b0
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user