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:
bertrand 2003-01-06 16:43:42 +00:00
parent 3ee5e0438f
commit 99a7c6aa3b
1 changed files with 1 additions and 1 deletions

View File

@ -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 );