Forgot to use define :-)

This commit is contained in:
simon.kagstrom 2009-03-29 17:23:27 +00:00
parent 98b6ad2e55
commit d7b06cdbef

View File

@ -124,7 +124,7 @@ bool Network::Select(int sock, struct timeval *tv)
void Network::CloseSocket()
{
#define SHUT_RDWR 2
net_shutdown(this->sock, 2);
net_shutdown(this->sock, SHUT_RDWR);
net_close(this->sock);
}