diff options
Diffstat (limited to 'src/input/input_net.c')
-rw-r--r-- | src/input/input_net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/input_net.c b/src/input/input_net.c index edbe73b08..cd4a8c901 100644 --- a/src/input/input_net.c +++ b/src/input/input_net.c @@ -144,6 +144,7 @@ static int host_connect_attempt_ipv4(struct in_addr ia, int port, xine_t *xine) static int host_connect_attempt(int family, struct sockaddr* sin, int addrlen, xine_t *xine) { int s = xine_socket_cloexec(family, SOCK_STREAM, IPPROTO_TCP); + if (s == -1) { xine_log(xine, XINE_LOG_MSG, _("input_net: socket(): %s\n"), strerror(errno)); |