From 230add9d5e28ae8e15320a6db5b1b6201c9e8c80 Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Mon, 9 Mar 2015 09:32:46 -0500 Subject: Fixed coverity warning 1287148 --- ACE/tests/Dev_Poll_Reactor_Echo_Test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1