diff options
Diffstat (limited to 'ACE/ace/Select_Reactor_Base.cpp')
-rw-r--r-- | ACE/ace/Select_Reactor_Base.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ACE/ace/Select_Reactor_Base.cpp b/ACE/ace/Select_Reactor_Base.cpp index e86008aaf85..771a5b49d90 100644 --- a/ACE/ace/Select_Reactor_Base.cpp +++ b/ACE/ace/Select_Reactor_Base.cpp @@ -800,14 +800,9 @@ ACE_Select_Reactor_Notify::dispatch_notify (ACE_Notification_Buffer &buffer) more_messages_queued, next); - if (result == 0) + if (result == 0 || result == -1) { - return 0; - } - - if (result == -1) - { - return -1; + return result; } if(more_messages_queued) |