From a601d768b9fbd257977fede2b129aa9208f98749 Mon Sep 17 00:00:00 2001 From: caremoli Date: Tue, 15 Sep 2009 12:28:30 +0000 Subject: [PATCH] CCAR: Modify FindOrLoadComponent so that all modes be coherent (with parameter structure or with string). If the machine is not given, the default machine is the machine of the resources manager and not the local machine as it was done in the string mode. --- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index b980df384..534553609 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -277,7 +277,7 @@ SALOME_LifeCycleCORBA::FindOrLoad_Component(const char *containerName, { // containerName doesn't contain "/" => Local container params->container_name=CORBA::string_dup(stContainer); - params->hostname=CORBA::string_dup(Kernel_Utils::GetHostname().c_str()); + params->hostname=""; } else { -- 2.39.2