summaryrefslogtreecommitdiff
path: root/TAO/tests/BiDirectional/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/BiDirectional/client.cpp')
-rw-r--r--TAO/tests/BiDirectional/client.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/TAO/tests/BiDirectional/client.cpp b/TAO/tests/BiDirectional/client.cpp
index 18d91db9090..50acc019605 100644
--- a/TAO/tests/BiDirectional/client.cpp
+++ b/TAO/tests/BiDirectional/client.cpp
@@ -6,12 +6,15 @@
ACE_RCSID(BiDirectional, client, "$Id$")
const char *ior = "file://test.ior";
-int do_shutdown = 0;
+
+void do_nothing (void)
+{
+}
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "k:x");
+ ACE_Get_Opt get_opts (argc, argv, "k:");
int c;
while ((c = get_opts ()) != -1)
@@ -20,15 +23,12 @@ parse_args (int argc, char *argv[])
case 'k':
ior = get_opts.optarg;
break;
- case 'x':
- do_shutdown = 1;
- break;
+
case '?':
default:
ACE_ERROR_RETURN ((LM_ERROR,
"usage: %s "
"-k <ior> "
- "-x <shutdown> "
"\n",
argv [0]),
-1);
@@ -138,11 +138,7 @@ main (int argc, char *argv[])
r));
}
- if (do_shutdown)
- {
- server->shutdown (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
+ orb->run ();
root_poa->destroy (1, 1, ACE_TRY_ENV);
ACE_TRY_CHECK;