summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp')
-rw-r--r--TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp b/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
index dec9e0e3796..f0596840e1d 100644
--- a/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
+++ b/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
@@ -14,6 +14,7 @@
const char *ior = "file://test.ior";
int comp_number = 4;
+int count = 0;
int parse_args (int argc, char *argv[])
{
@@ -94,7 +95,8 @@ main (int argc, char *argv[])
Deployment::ComponentImplementationInfo info;
std::stringstream tmp;
- tmp << "NodeAppTest_RoundTrip:" << i;
+ tmp << "NodeAppTest_RoundTrip:" << count;
+ count = count + 1;
// Add the names and entry points of each of the DLLs
info.component_instance_name =
@@ -139,7 +141,8 @@ main (int argc, char *argv[])
Deployment::ComponentImplementationInfo info;
std::stringstream tmp;
- tmp << "NodeAppTest_RoundTrip:" << i;
+ tmp << "NodeAppTest_RoundTrip:" << count;
+ count = count + 1;
// Add the names and entry points of each of the DLLs
info.component_instance_name =