summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authornaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-02 04:06:00 +0000
committernaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-02 04:06:00 +0000
commit5675378811936ecd7c34ab2e2a013c2700abbc7c (patch)
tree39534000779d9580b54edef3bafb81ae63ee5e99 /TAO
parentdc7ff7c01f63b88683b5d09bf776cb6664e3f8f1 (diff)
downloadATCD-5675378811936ecd7c34ab2e2a013c2700abbc7c.tar.gz
Removed the hand-crafted ORB options.
Diffstat (limited to 'TAO')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp
index fc631faf1cb..3cb1ed49bcc 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/Command_Handler.cpp
@@ -5,10 +5,6 @@
ACE_RCSID(mpeg_client, Command_Handler, "$Id$")
- static int temp_argc = 5;
-static char *temp_argv [] = {"Command_Handler",
- "-ORBobjrefstyle", "url"
-};
Command_Handler::Command_Handler (ACE_HANDLE command_handle)
:command_suspended_ (UNSUSPENDED),
@@ -77,11 +73,10 @@ int
Command_Handler::init (int argc,
char *argv[])
{
- this->argc_ = temp_argc;
- this->argv_ = temp_argv;
+ this->argc_ = argc;
+ this->argv_ = argv;
// Increase the debug_level so that we can see the output
- this->parse_args (argc, argv);
TAO_debug_level++;
CORBA::String_var ior;
TAO_TRY
@@ -91,6 +86,7 @@ Command_Handler::init (int argc,
"child_poa",
TAO_TRY_ENV);
TAO_CHECK_ENV;
+ this->parse_args (this->argc_, this->argv_);
// activate the client video mmdevice under the child poa.
ior = this->orb_manager_.activate (&this->receiver_,
TAO_TRY_ENV);