mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
minor build update
svn path=/icecast/trunk/net/; revision=13501
This commit is contained in:
parent
7248d653c0
commit
fe5c9e62cc
@ -62,6 +62,9 @@
|
|||||||
#ifndef AI_NUMERICSERV
|
#ifndef AI_NUMERICSERV
|
||||||
# define AI_NUMERICSERV 0
|
# define AI_NUMERICSERV 0
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef AI_ADDRCONFIG
|
||||||
|
# define AI_ADDRCONFIG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* sock_initialize
|
/* sock_initialize
|
||||||
**
|
**
|
||||||
@ -659,7 +662,7 @@ sock_t sock_get_server_socket (int port, const char *sinterface)
|
|||||||
|
|
||||||
if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0)
|
if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0)
|
||||||
{
|
{
|
||||||
close (sock);
|
sock_close (sock);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
freeaddrinfo (res);
|
freeaddrinfo (res);
|
||||||
|
Loading…
Reference in New Issue
Block a user