diff options
Diffstat (limited to 'TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp b/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp index 651169f1c21..b7779c65615 100644 --- a/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp +++ b/TAO/orbsvcs/examples/Security/SecurityLevel1/client.cpp @@ -37,18 +37,18 @@ main (int argc, char *argv []) ACE_TRY_NEW_ENV { CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "" TAO_ENV_ARG_PARAMETER); + CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; if (parse_args (argc, argv) != 0) return 1; CORBA::Object_var object = - orb->string_to_object (ior TAO_ENV_ARG_PARAMETER); + orb->string_to_object (ior ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; SLevel1_Server_var server = - SLevel1_Server::_narrow (object.in () TAO_ENV_ARG_PARAMETER); + SLevel1_Server::_narrow (object.in () ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; if (CORBA::is_nil (server.in ())) @@ -60,7 +60,7 @@ main (int argc, char *argv []) } CORBA::Boolean authorized = - server->authorize_level1 (TAO_ENV_SINGLE_ARG_PARAMETER); + server->authorize_level1 (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (authorized == 0) @@ -70,10 +70,10 @@ main (int argc, char *argv []) ACE_DEBUG ((LM_DEBUG, "DENIED: You Do NOT have enough privileges\n")); - server->shutdown (TAO_ENV_SINGLE_ARG_PARAMETER); + server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; - orb->destroy (TAO_ENV_SINGLE_ARG_PARAMETER); + orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY |