summaryrefslogtreecommitdiff
path: root/ace/Service_Config.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-10 08:49:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-10 08:49:56 +0000
commit64d036b51612261ffa53bbdba38ff8e6e99fc016 (patch)
treeff947ccd272b645b872902a961c0907b7f974469 /ace/Service_Config.cpp
parent7db29418e44bdce4e3df96493b852118cdd82a4a (diff)
downloadATCD-64d036b51612261ffa53bbdba38ff8e6e99fc016.tar.gz
eon
Diffstat (limited to 'ace/Service_Config.cpp')
-rw-r--r--ace/Service_Config.cpp12
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 */