diff options
author | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-01-15 10:23:25 +0000 |
---|---|---|
committer | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-01-15 10:23:25 +0000 |
commit | 3a5e65b261a739e6ef975f094ddadf1a8038a4b7 (patch) | |
tree | 1e1ec9252e01656243ad7214963309d9e4b632dd /ACE/ace/Registry.cpp | |
parent | c8783b58da11995445f529412be27aa0541732ac (diff) | |
download | ATCD-3a5e65b261a739e6ef975f094ddadf1a8038a4b7.tar.gz |
ChangeLogTag: Fri Jan 15 10:22:06 UTC 2010 Olli Savia <ops@iki.fi>
Diffstat (limited to 'ACE/ace/Registry.cpp')
-rw-r--r-- | ACE/ace/Registry.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/ace/Registry.cpp b/ACE/ace/Registry.cpp index dc60e119788..ee1863a8b88 100644 --- a/ACE/ace/Registry.cpp +++ b/ACE/ace/Registry.cpp @@ -1094,6 +1094,7 @@ ACE_Predefined_Naming_Contexts::connect (ACE_Registry::Naming_Context &naming_co predefined, &naming_context.key_); if (predefined == HKEY_CURRENT_USER || predefined == HKEY_CLASSES_ROOT) + { // Make sure that for these types, the machine is local if (machine_name == 0 || ACE_Predefined_Naming_Contexts::is_local_host (machine_name)) @@ -1103,6 +1104,7 @@ ACE_Predefined_Naming_Contexts::connect (ACE_Registry::Naming_Context &naming_co } else result = -1; + } ACE_REGISTRY_CALL_RETURN (result); #endif // ACE_HAS_WINCE |