From: caremoli Date: Tue, 15 Sep 2009 12:28:30 +0000 (+0000) Subject: CCAR: Modify FindOrLoadComponent so that all modes be coherent (with parameter struct... X-Git-Tag: V5_1_3rc1~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a601d768b9fbd257977fede2b129aa9208f98749;p=modules%2Fkernel.git 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. --- 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 {