summaryrefslogtreecommitdiff
path: root/flat/CIAO/ciao/Client_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flat/CIAO/ciao/Client_init.cpp')
-rw-r--r--flat/CIAO/ciao/Client_init.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/flat/CIAO/ciao/Client_init.cpp b/flat/CIAO/ciao/Client_init.cpp
index 8528cd1ad5f..4ac6e9d53da 100644
--- a/flat/CIAO/ciao/Client_init.cpp
+++ b/flat/CIAO/ciao/Client_init.cpp
@@ -39,34 +39,34 @@ namespace CIAO
namespace Utility
{
void build_config_values_map (CONFIGVALUE_MAP &map,
- const ::Components::ConfigValues &config)
+ const ::Components::ConfigValues &config)
{
CIAO_TRACE("CIAO::build_config_values_map");
map.unbind_all ();
for (CORBA::ULong i = 0; i < config.length (); ++i)
{
- int retval = map.rebind (config[i]->name (), config[i]->value ());
+ int retval = map.rebind (config[i]->name (), config[i]->value ());
- if (retval == 1)
- {
+ if (retval == 1)
+ {
CIAO_ERROR ((LM_WARNING, CLINFO "build_config_values_map: Duplicate value for %C encountered, "
- "old value overwritten.\n",
- config[i]->name ()));
- }
- else if (retval == -1)
- {
+ "old value overwritten.\n",
+ config[i]->name ()));
+ }
+ else if (retval == -1)
+ {
CIAO_ERROR ((LM_WARNING, CLINFO "build_config_values_map: Error binding value for %C, ignoring.\n",
- config[i]->name ()));
- }
- CIAO_DEBUG ((LM_TRACE, CLINFO
+ config[i]->name ()));
+ }
+ CIAO_DEBUG ((LM_TRACE, CLINFO
"build_config_values_map: Bound value for config value %C\n",
- config[i]->name ()));
+ config[i]->name ()));
}
}
void build_config_values_sequence (::Components::ConfigValues &config,
- const CONFIGVALUE_MAP &map)
+ const CONFIGVALUE_MAP &map)
{
CIAO_TRACE ("CIAO::build_config_values_sequence");
@@ -75,14 +75,14 @@ namespace CIAO
CORBA::ULong pos = 0;
for (CONFIGVALUE_MAP::const_iterator i = map.begin ();
- (i.advance ()) != 0; ++pos)
- {
- Components::ConfigValue_var newval;
- ACE_NEW_THROW_EX (newval,
- ConfigValue_impl (i->ext_id_.c_str (), i->int_id_),
- CORBA::NO_MEMORY ());
- config[pos] = newval._retn ();
- }
+ (i.advance ()) != 0; ++pos)
+ {
+ Components::ConfigValue_var newval;
+ ACE_NEW_THROW_EX (newval,
+ ConfigValue_impl (i->ext_id_.c_str (), i->int_id_),
+ CORBA::NO_MEMORY ());
+ config[pos] = newval._retn ();
+ }
}
/*