diff options
-rw-r--r-- | ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp b/ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp index 04c169234a8..3bc7bd09d13 100644 --- a/ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp +++ b/ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp @@ -169,7 +169,7 @@ Client::handle_input (ACE_HANDLE handle) ACE_TEXT ("(%t) Client::handle_input handle = %d bytes_read = %d\n"), handle, bytes_read)); - if (bytes_read == -1 && errno == EWOULDBLOCK) + if (bytes_read < 0 && errno == EWOULDBLOCK) { return 0; } |