summaryrefslogtreecommitdiff
path: root/TAO/tests/InterOp-Naming/INS_test_client.cpp
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-02 20:52:26 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-02 20:52:26 +0000
commitd3dc1191ad9613a22712d462131a415793647f4c (patch)
treeaf44a3bff51a3b333f60247e0034c165eb9542b0 /TAO/tests/InterOp-Naming/INS_test_client.cpp
parente77d2e1ed8b2dd22a0e057499a9b68c7a6ffa0e2 (diff)
downloadATCD-d3dc1191ad9613a22712d462131a415793647f4c.tar.gz
ChangeLogTag: Mon Apr 2 13:48:52 2001 Priyanka Gontla <pgontla@ece.uci.edu>
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));
}
}
}