From 386e1e10e6d92c45cc2173e9a5851dc8c65f907e Mon Sep 17 00:00:00 2001 From: pradeep Date: Fri, 24 Mar 2000 04:40:14 +0000 Subject: Thu Mar 23 22:06:57 2000 Pradeep Gore --- TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.cpp | 6 ++---- TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h | 1 + 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 poa_ids_; // Id generator for poa's. + // These id's are used to generate unique names for child poa's. }; #include "ace/post.h" -- cgit v1.2.1