Mercurial > libavformat.hg
changeset 2321:96bab3153939 libavformat
MinGW returns EAGAIN instead of EINPROGRESS
author | ramiro |
---|---|
date | Wed, 08 Aug 2007 12:08:16 +0000 |
parents | e33a7c4d1bd5 |
children | fb72d949bae3 |
files | tcp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tcp.c Mon Aug 06 21:14:29 2007 +0000 +++ b/tcp.c Wed Aug 08 12:08:16 2007 +0000 @@ -69,7 +69,8 @@ if (ret < 0) { if (ff_neterrno() == FF_NETERROR(EINTR)) goto redo; - if (ff_neterrno() != FF_NETERROR(EINPROGRESS)) + if (ff_neterrno() != FF_NETERROR(EINPROGRESS) && + ff_neterrno() != FF_NETERROR(EAGAIN)) goto fail; /* wait until we are connected or until abort */