1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-06-16 06:15:24 +00:00

Fix: Re-Added igloo_sock_recoverable() to public API as it IS used

This commit is contained in:
Philipp Schafft 2018-12-07 13:51:41 +00:00
parent b6e8405b59
commit 7227841358
2 changed files with 3 additions and 1 deletions

View File

@ -106,6 +106,8 @@ igloo_sock_t igloo_sock_get_server_socket(int port, const char *sinterface);
int igloo_sock_listen(igloo_sock_t serversock, int backlog);
igloo_sock_t igloo_sock_accept(igloo_sock_t serversock, char *ip, size_t len);
int igloo_sock_recoverable(int error);
#ifdef _WIN32
int inet_aton(const char *s, struct in_addr *a);
#endif

View File

@ -124,7 +124,7 @@ static void igloo_sock_set_error(int val)
** determines if the socket error is recoverable
** in terms of non blocking sockets
*/
static int igloo_sock_recoverable(int error)
int igloo_sock_recoverable(int error)
{
switch (error)
{