changeset 8824:87e37d8cfb25

Return another error code for timeout.
author bertrand
date Mon, 06 Jan 2003 16:43:42 +0000
parents 557d34fe438a
children 5e14da733242
files libmpdemux/network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/network.c	Mon Jan 06 16:42:20 2003 +0000
+++ b/libmpdemux/network.c	Mon Jan 06 16:43:42 2003 +0000
@@ -207,7 +207,7 @@
 		  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 );