diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-10 08:49:56 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-10 08:49:56 +0000 |
commit | 64d036b51612261ffa53bbdba38ff8e6e99fc016 (patch) | |
tree | ff947ccd272b645b872902a961c0907b7f974469 /ace/Service_Config.cpp | |
parent | 7db29418e44bdce4e3df96493b852118cdd82a4a (diff) | |
download | ATCD-64d036b51612261ffa53bbdba38ff8e6e99fc016.tar.gz |
eon
Diffstat (limited to 'ace/Service_Config.cpp')
-rw-r--r-- | ace/Service_Config.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Service_Config.cpp b/ace/Service_Config.cpp index 2e7852acef7..cbff406a9cd 100644 --- a/ace/Service_Config.cpp +++ b/ace/Service_Config.cpp @@ -665,8 +665,8 @@ ACE_Service_Config::run_reactor_event_loop (ACE_Time_Value &tv) int result = ACE_Service_Config::reactor ()->handle_events (tv); if (ACE_Service_Config::reconfig_occurred_) ACE_Service_Config::reconfigure (); - else if (result == -1) - return -1; + else if (result <= 0) + return result; } /* NOTREACHED */ @@ -799,8 +799,8 @@ ACE_Service_Config::run_proactor_event_loop (ACE_Time_Value &tv) int result = ACE_Service_Config::proactor ()->handle_events (tv); if (ACE_Service_Config::reconfig_occurred_) ACE_Service_Config::reconfigure (); - else if (result == -1) - return -1; + else if (result <= 0) + return result; } /* NOTREACHED */ @@ -857,8 +857,8 @@ ACE_Service_Config::run_reactorEx_event_loop (ACE_Time_Value &tv) int result = ACE_Service_Config::reactorEx ()->handle_events (tv); if (ACE_Service_Config::reconfig_occurred_) ACE_Service_Config::reconfigure (); - else if (result == -1) - return -1; + else if (result <= 0) + return result; } /* NOTREACHED */ |