summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/echo/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/echo/server.cpp')
-rw-r--r--TAO/examples/Simple/echo/server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/examples/Simple/echo/server.cpp b/TAO/examples/Simple/echo/server.cpp
index e6a4b082018..da5802ac71f 100644
--- a/TAO/examples/Simple/echo/server.cpp
+++ b/TAO/examples/Simple/echo/server.cpp
@@ -12,18 +12,18 @@ main (int argc, char *argv[])
ACE_DEBUG ((LM_DEBUG,
"\n\tEcho server\n\n"));
- ACE_DECLARE_NEW_CORBA_ENV;
+ TAO_ENV_DECLARE_NEW_ENV;
ACE_TRY
{
if (server.init ("Echo",
argc,
- argv,
- ACE_TRY_ENV) == -1)
+ argv
+ TAO_ENV_ARG_PARAMETER) == -1)
return 1;
else
{
- server.run (ACE_TRY_ENV);
+ server.run (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
}