summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-24 04:40:14 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-24 04:40:14 +0000
commit386e1e10e6d92c45cc2173e9a5851dc8c65f907e (patch)
tree915016b51007db7251969c152b47e349c2054d95
parent459077b504de41cb15cdbb708031d50e2aa578f6 (diff)
downloadATCD-386e1e10e6d92c45cc2173e9a5851dc8c65f907e.tar.gz
Thu Mar 23 22:06:57 2000 Pradeep Gore <pradeep@flamenco.cs.wustl.edu>
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp
index 1911c8b0569..5c5f1374812 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp
@@ -236,11 +236,9 @@ TAO_Notify_Resource_Manager::create_generic_childPOA_i (PortableServer::POA_ptr
PortableServer::ObjectId *
TAO_Notify_Resource_Manager::long_to_ObjectId (const CORBA::Long id)
{
- // Size of string
- //
- // We DO NOT include the zero terminator, as this is simply an
- // artifact of the way strings are stored in C.
+ // Modified code from string_to_ObjectId ..
//
+
CORBA::ULong buffer_size = 4;
// Create the buffer for the Id
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
index 9cacae48d2f..8dc5cdf6caa 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
@@ -153,6 +153,7 @@ class TAO_Notify_Resource_Manager
TAO_Notify_ID_Pool<CORBA::Long> poa_ids_;
// Id generator for poa's.
+ // These id's are used to generate unique names for child poa's.
};
#include "ace/post.h"