diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-27 21:44:14 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-10-27 21:44:14 +0000 |
commit | 0cc5504a5c8a958101a09accb21c135281d5e9ff (patch) | |
tree | a38b7d21b5f25b5ef5548a423339c747f056059c /ace/Naming_Context.cpp | |
parent | 997479406012dab3e5e787d3a724bf5f2fd2b04c (diff) | |
download | ATCD-0cc5504a5c8a958101a09accb21c135281d5e9ff.tar.gz |
Jamming!
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r-- | ace/Naming_Context.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp index 2fc724ca535..e92659cad7c 100644 --- a/ace/Naming_Context.cpp +++ b/ace/Naming_Context.cpp @@ -11,7 +11,7 @@ // Make life easier later on... typedef ACE_Local_Name_Space <ACE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> LOCAL_NAME_SPACE; -typedef ACE_Local_Name_Space <ACE_LITE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> LIGHT_LOCAL_NAME_SPACE; +typedef ACE_Local_Name_Space <ACE_LITE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> LITE_LOCAL_NAME_SPACE; // The following Factory is used by the ACE_Service_Config and // svc.conf file to dynamically initialize the state of the Name @@ -53,7 +53,7 @@ ACE_Naming_Context::local (void) } int -ACE_Naming_Context::open (Context_Scope_Type scope_in, int light) +ACE_Naming_Context::open (Context_Scope_Type scope_in, int lite) { ACE_TRACE ("ACE_Naming_Context::open"); ACE_OS::hostname (this->hostname_, sizeof this->hostname_); @@ -76,8 +76,8 @@ ACE_Naming_Context::open (Context_Scope_Type scope_in, int light) } else // Use NODE_LOCAL or PROC_LOCAL name space. { - if (light) - ACE_NEW_RETURN (this->name_space_, LIGHT_LOCAL_NAME_SPACE (scope_in, this->name_options_), -1); + if (lite) + ACE_NEW_RETURN (this->name_space_, LITE_LOCAL_NAME_SPACE (scope_in, this->name_options_), -1); else ACE_NEW_RETURN (this->name_space_, LOCAL_NAME_SPACE (scope_in, this->name_options_), -1); @@ -104,14 +104,14 @@ ACE_Naming_Context::ACE_Naming_Context (void) } ACE_Naming_Context::ACE_Naming_Context (Context_Scope_Type scope_in, - int light) + int lite) { ACE_TRACE ("ACE_Naming_Context::ACE_Naming_Context"); ACE_NEW (this->name_options_, ACE_Name_Options); // Initialize. - if (this->open (scope_in, light) == -1) + if (this->open (scope_in, lite) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "ACE_Naming_Context::ACE_Naming_Context")); } |