diff options
author | Steve Huston <shuston@riverace.com> | 1999-01-25 18:11:14 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-01-25 18:11:14 +0000 |
commit | def8aa8a23a940fc3c0595ead6885bb3096a210f (patch) | |
tree | 7c84cc6fcd675953792172d49a1e92cd4e6b464e | |
parent | 36f62a049c2458b2f5ca995900a59e944afcf2ae (diff) | |
download | ATCD-def8aa8a23a940fc3c0595ead6885bb3096a210f.tar.gz |
Removed EAGAIN hack for accept().
-rw-r--r-- | tests/MT_SOCK_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/MT_SOCK_Test.cpp b/tests/MT_SOCK_Test.cpp index 5b1413d0158..d348bdfa15e 100644 --- a/tests/MT_SOCK_Test.cpp +++ b/tests/MT_SOCK_Test.cpp @@ -223,7 +223,7 @@ server (void *arg) } else if (r_bytes == -1) { - if (errno == EAGAIN || errno == EWOULDBLOCK) + if (errno == EWOULDBLOCK || errno == EAGAIN) ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("(%P|%t) no input available, going back to reading\n"))); else @@ -236,7 +236,7 @@ server (void *arg) } if (result == -1) { - if (errno == EWOULDBLOCK || errno == EAGAIN) + if (errno == EWOULDBLOCK) ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("(%P|%t) no connections available, going back to accepting\n"))); else |