Commit 4a07ee49 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix implementation of net_Close. it returns void, not int (like close).

parent ce9a419e
......@@ -183,7 +183,7 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout);
# define SHUT_RDWR SD_BOTH
# define net_Close( fd ) closesocket ((SOCKET)fd)
#else
# define net_Close( fd ) close (fd)
# define net_Close( fd ) (void)close (fd)
#endif
/* Portable network names/addresses resolution layer */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment