Commit f74b356f authored by ramiro's avatar ramiro

MinGW returns EAGAIN instead of EINPROGRESS

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9982 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 40b305a3
...@@ -69,7 +69,8 @@ static int tcp_open(URLContext *h, const char *uri, int flags) ...@@ -69,7 +69,8 @@ static int tcp_open(URLContext *h, const char *uri, int flags)
if (ret < 0) { if (ret < 0) {
if (ff_neterrno() == FF_NETERROR(EINTR)) if (ff_neterrno() == FF_NETERROR(EINTR))
goto redo; goto redo;
if (ff_neterrno() != FF_NETERROR(EINPROGRESS)) if (ff_neterrno() != FF_NETERROR(EINPROGRESS) &&
ff_neterrno() != FF_NETERROR(EAGAIN))
goto fail; goto fail;
/* wait until we are connected or until abort */ /* wait until we are connected or until abort */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment