[vlc-devel] commit: connect: handle EINTR ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Jun 12 19:20:11 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jun 12 20:16:55 2008 +0300| [4e21e41ac9381e7d24f3a0ace8870ae0532d2cd7]
connect: handle EINTR
Though this should not happen as we are using non-blocking mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e21e41ac9381e7d24f3a0ace8870ae0532d2cd7
---
src/network/tcp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/network/tcp.c b/src/network/tcp.c
index 8045563..9254729 100644
--- a/src/network/tcp.c
+++ b/src/network/tcp.c
@@ -161,7 +161,7 @@ int __net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
{
int timeout, val;
- if( net_errno != EINPROGRESS )
+ if( net_errno != EINPROGRESS && net_errno != EINTR )
{
msg_Err( p_this, "connection failed: %m" );
goto next_ai;
More information about the vlc-devel
mailing list