PortableServer_POA_id_to_servant() unconditionally returning NULL?

Jules Colding <[email protected]> Fri, 14 Sep 2007 14:50:44 +0200
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
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  <[email protected]>
+
+       * src/orb/poa/poa.c (PortableServer_POA_id_to_servant): Return
+       a value if we have one
+
 2007-08-31  Jules Colding  <[email protected]>

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