diff options
author | eihrul <eihrul> | 2007-05-31 08:04:23 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-05-31 08:04:23 +0000 |
commit | 6a6e61b4bd85cb1566a3f0f11896128046fb410d (patch) | |
tree | a920d81a35341102366d4a3fc3cbe2b59bc1b398 /unix.c | |
parent | 050cf18c9644ecf797fd856ee9e49dd4124f4899 (diff) | |
download | enet-6a6e61b4bd85cb1566a3f0f11896128046fb410d.tar.gz enet-6a6e61b4bd85cb1566a3f0f11896128046fb410d.zip |
*** empty log message ***
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -193,6 +193,7 @@ enet_socket_create (ENetSocketType type, const ENetAddress * address) (struct sockaddr *) & sin, sizeof (struct sockaddr_in)) == -1 || (type == ENET_SOCKET_TYPE_STREAM && + address -> port != ENET_PORT_ANY && listen (newSocket, SOMAXCONN) == -1)) { close (newSocket); |