PortableServer_POA_id_to_servant() unconditionally returning NULL?



Hi,

Any reason I shouldn't commit this?

-- 
  jules


Index: src/orb/poa/poa.c
===================================================================
--- src/orb/poa/poa.c   (revision 2020)
+++ src/orb/poa/poa.c   (working copy)
@@ -2446,7 +2446,7 @@

        POA_UNLOCK (poa);

-       return NULL;
+       return servant;
 }

 CORBA_Object
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 2020)
+++ ChangeLog   (working copy)
@@ -1,3 +1,8 @@
+2007-09-14  Jules Colding  <colding omesc com>
+
+       * src/orb/poa/poa.c (PortableServer_POA_id_to_servant): Return
+       a value if we have one
+
 2007-08-31  Jules Colding  <colding omesc com>

        * src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Make sure




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]