]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Code more clear
authorribes <ribes>
Thu, 23 Apr 2009 09:53:52 +0000 (09:53 +0000)
committerribes <ribes>
Thu, 23 Apr 2009 09:53:52 +0000 (09:53 +0000)
src/ParallelContainer/SALOME_ParallelContainerNodeDummy.cxx
src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx

index 0c7d319a6008901c67994a715febe79af881dc83..e33ba98334eeabeea01c11f522bdb03f16bc9f51 100644 (file)
@@ -128,9 +128,9 @@ int main(int argc, char* argv[])
   if(argc > 1) {
     containerName = argv[1];
   }
-  std::string hostname("");
+  std::string proxy_hostname("");
   if(argc > 3) {
-    hostname = argv[3];
+    proxy_hostname = argv[3];
   }
   int myid = 0;
   if(argc > 4) 
@@ -151,7 +151,7 @@ int main(int argc, char* argv[])
     SALOME_NamingService * ns = new SALOME_NamingService(orb);
     // Get the proxy
     string proxyNameInNS = ns->BuildContainerNameForNS(containerName.c_str(), 
-                                                      hostname.c_str());
+                                                      proxy_hostname.c_str());
     obj = ns->Resolve(proxyNameInNS.c_str());
     char * proxy_ior = orb->object_to_string(obj);
 
index d72d0fe74115b49a67b24622c9a2a7818a2e5972..5dd6710d053dd14481473b745ea883bf591f5d41 100644 (file)
@@ -158,9 +158,9 @@ int main(int argc, char* argv[])
   std::string containerName("");
   containerName = argv[1];
 
-  std::string hostname("");
+  std::string proxy_hostname("");
   if(argc > 3) {
-    hostname = argv[3];
+    proxy_hostname = argv[3];
   }
 
   try {  
@@ -178,7 +178,7 @@ int main(int argc, char* argv[])
     SALOME_NamingService * ns = new SALOME_NamingService(CORBA::ORB::_duplicate(orb));
     // On récupère le proxy 
     string proxyNameInNS = ns->BuildContainerNameForNS(containerName.c_str(), 
-                                                      hostname.c_str());
+                                                      proxy_hostname.c_str());
     obj = ns->Resolve(proxyNameInNS.c_str());
     char * proxy_ior = orb->object_to_string(obj);