mirror of https://github.com/mpv-player/mpv
Return another error code for timeout.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3ee5e0438f
commit
99a7c6aa3b
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue