diff options
Diffstat (limited to 'stream/tcp.c')
-rw-r--r-- | stream/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/tcp.c b/stream/tcp.c index 5759108ec7..769a8669d8 100644 --- a/stream/tcp.c +++ b/stream/tcp.c @@ -19,7 +19,6 @@ #include "mp_msg.h" #include "help_mp.h" -#include "input/input.h" #ifndef HAVE_WINSOCK2 #include <netdb.h> @@ -195,7 +194,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) { FD_SET( socket_server_fd, &set ); // When the connection will be made, we will have a writeable fd while((ret = select(socket_server_fd+1, NULL, &set, NULL, &tv)) == 0) { - if(count > 30 || mp_input_check_interrupt(500)) { + if(count > 30 || stream_check_interrupt(500)) { if(count > 30) mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ConnTimeout); else |