summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index 623899e048..90e050ebba 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -207,7 +207,7 @@ connect2Server(char *host, int port) {
mp_msg(MSGT_NETWORK,MSGL_ERR,"Connection timeout\n");
else
mp_msg(MSGT_NETWORK,MSGL_V,"Connection interuppted by user\n");
- return -2;
+ return -3;
}
count++;
FD_ZERO( &set );