mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-19 22:02:41 +01:00
Forgot to use define :-)
This commit is contained in:
parent
98b6ad2e55
commit
d7b06cdbef
@ -124,7 +124,7 @@ bool Network::Select(int sock, struct timeval *tv)
|
|||||||
void Network::CloseSocket()
|
void Network::CloseSocket()
|
||||||
{
|
{
|
||||||
#define SHUT_RDWR 2
|
#define SHUT_RDWR 2
|
||||||
net_shutdown(this->sock, 2);
|
net_shutdown(this->sock, SHUT_RDWR);
|
||||||
net_close(this->sock);
|
net_close(this->sock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user