summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmendel <bmendel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-22 17:25:46 +0000
committerbmendel <bmendel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-22 17:25:46 +0000
commitbac71b7bb27c68c444377822d5ad3b320c4cdaa4 (patch)
treea8e2e07df153e9c2d69e8e05299596de370e063b
parente453c1c3709ed13ef2a45e1b7f9e6de58ef63098 (diff)
downloadATCD-bac71b7bb27c68c444377822d5ad3b320c4cdaa4.tar.gz
Modified to delete VxWorks specific sections of code. Modified by
Brian Mendel. 5/22/97
-rw-r--r--TAO/IIOP/test/clnt.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/TAO/IIOP/test/clnt.cpp b/TAO/IIOP/test/clnt.cpp
index 367d463de66..f0249489889 100644
--- a/TAO/IIOP/test/clnt.cpp
+++ b/TAO/IIOP/test/clnt.cpp
@@ -104,24 +104,6 @@ main (int argc, char *argv[])
CORBA_Object_ptr objref = CORBA_Object::_nil();
CORBA_Environment env;
-#if defined (VXWORKS)
- // Work around VxWorks' lack of command line
-
- loop_count = 50;
- int dummy = 1;
- orb_ptr = CORBA_ORB_init (dummy, (char **)0, "internet", env);
- if (env.exception() != 0)
- {
- print_exception(env.exception(), "ORB initialization");
- return 1;
- }
-
- hostAdd( "mv2604d", "130.38.183.132" );
-
- TAO_arg_ior = ACE_OS::strdup("iiop:1.0//mv2604d:1000/key0");
-
-#else
-
orb_ptr = CORBA_ORB_init(argc, argv, "internet", env);
if (env.exception() != 0)
{
@@ -134,14 +116,12 @@ main (int argc, char *argv[])
//
parse_args(argc, argv);
-#endif
-
if (TAO_arg_ior == 0)
ACE_ERROR_RETURN((LM_ERROR, "%s: must specify an object reference using -O <ior>\n", argv[0]), 1);
objref = orb_ptr->string_to_object ((CORBA_String)TAO_arg_ior, env);
- ACE_OS::free(TAO_arg_ior);
+ ACE_OS::free((void*)TAO_arg_ior);
TAO_arg_ior = 0;
if (env.exception () != 0)