summaryrefslogtreecommitdiff
path: root/TAO/tao/Utils
diff options
context:
space:
mode:
authorwilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-30 23:53:58 +0000
committerwilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-30 23:53:58 +0000
commit7a1dce7efe9db70eead4e02fe7e4111aa23374a6 (patch)
tree2748a7e560163a2c2621b93fec3698f31e5ca166 /TAO/tao/Utils
parent1b33913053d605cdcecd41d6ca338d83877f4c89 (diff)
downloadATCD-7a1dce7efe9db70eead4e02fe7e4111aa23374a6.tar.gz
ChangeLogTag: Tue Dec 30 17:46:45 2003 Dale Wilson <wilson_d@ociweb.com>
Diffstat (limited to 'TAO/tao/Utils')
-rw-r--r--TAO/tao/Utils/Server_Main.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/Utils/Server_Main.cpp b/TAO/tao/Utils/Server_Main.cpp
index dbb50ac8608..2beec3dc581 100644
--- a/TAO/tao/Utils/Server_Main.cpp
+++ b/TAO/tao/Utils/Server_Main.cpp
@@ -61,7 +61,9 @@ int TAO::Utils::Server_Main<SERVANT>::run (int argc, ACE_TCHAR *argv[])
{
//////////////////////////////////
// let the servant register itself
- result = servant.init(orb.in ());
+ result = servant.init(orb.in () ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
if (result == 0)
{
ACE_ERROR ((LM_INFO,
@@ -82,7 +84,8 @@ int TAO::Utils::Server_Main<SERVANT>::run (int argc, ACE_TCHAR *argv[])
ACE_Time_Value work_tv(1,0);
orb->perform_work(work_tv ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
- quit = servant.idle(result);
+ quit = servant.idle(result ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
}
servant.fini(ACE_ENV_SINGLE_ARG_PARAMETER);