[vlc-devel] commit: win32: blind attempt at fixing RTSP connection ( hopefully fixes #2560) ( Rémi Denis-Courmont )

Rémi Denis-Courmont rem at videolan.org
Sun Apr 5 20:04:47 CEST 2009


FYI. This is a one-liner, so I assume you can copy it yourself.

P.S.: Feel free to curse Winsock.

Le dimanche 5 avril 2009 20:48:31 git version control, vous avez écrit :
> diff -Nru live.orig/liveMedia/RTSPClient.cpp live/liveMedia/RTSPClient.cpp
> --- live.orig/liveMedia/RTSPClient.cpp	2009-04-05 20:38:11.000000000 +0300
> +++ live/liveMedia/RTSPClient.cpp	2009-04-05 20:39:43.000000000 +0300
> @@ -1835,7 +1835,7 @@
>        }
>        if (connect(fInputSocketNum, (struct sockaddr*) &remoteName, sizeof
> remoteName) != 0) { + #if defined(__WIN32__) || defined(_WIN32)
> -        if (errno != WSAEINPROGRESS) {
> +        if (errno != WSAEWOULDBLOCK) {
>  #else
>          if (errno != EINPROGRESS) {
>  #endif

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary



More information about the vlc-devel mailing list