summaryrefslogtreecommitdiff
path: root/TAO/tests/InterOp-Naming/INS_test_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/InterOp-Naming/INS_test_client.cpp')
-rw-r--r--TAO/tests/InterOp-Naming/INS_test_client.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tests/InterOp-Naming/INS_test_client.cpp b/TAO/tests/InterOp-Naming/INS_test_client.cpp
index ac725df6ac7..5f545687cf4 100644
--- a/TAO/tests/InterOp-Naming/INS_test_client.cpp
+++ b/TAO/tests/InterOp-Naming/INS_test_client.cpp
@@ -28,7 +28,7 @@ main (int argc, char *argv[])
CORBA::Object_var objref;
for (i = 1; i < argc; ++i)
- {
+ {
if (ACE_OS::strcmp (argv[i], "-l") == 0)
{
// List initial services
@@ -62,7 +62,7 @@ main (int argc, char *argv[])
-1);
}
}
- else
+ else
{
objref = orb->resolve_initial_references (argv[i], ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -82,9 +82,13 @@ main (int argc, char *argv[])
argv[i],
orb->object_to_string (server.in ())));
+ CORBA::String_var test_ins_result =
+ server->test_ins (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
ACE_DEBUG ((LM_DEBUG,
"\nResult of Remote Call : %s\n",
- server->test_ins (ACE_TRY_ENV)));
+ test_ins_result));
}
}
}