diff options
Diffstat (limited to 'TAO/examples/Simple/chat/server.cpp')
-rw-r--r-- | TAO/examples/Simple/chat/server.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/examples/Simple/chat/server.cpp b/TAO/examples/Simple/chat/server.cpp index cf35016424c..09120b3fef0 100644 --- a/TAO/examples/Simple/chat/server.cpp +++ b/TAO/examples/Simple/chat/server.cpp @@ -27,18 +27,18 @@ main (int argc, char *argv[]) { Server_i server_i; - int ret = server_i.init (argc, argv, ACE_TRY_ENV); + int ret = server_i.init (argc, argv TAO_ENV_ARG_PARAMETER); ACE_TRY_CHECK; if (ret != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in init.\n"), - 1); - ret = server_i.run (ACE_TRY_ENV); + ACE_ERROR_RETURN ((LM_ERROR, + "\n error in init.\n"), + 1); + ret = server_i.run (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (ret != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "\n error in run.\n"), - 1); + ACE_ERROR_RETURN ((LM_ERROR, + "\n error in run.\n"), + 1); } ACE_CATCHANY { |