Diff for /libraries/libldap/result.c between versions 1.143 and 1.144

version 1.143, 2006/12/14 09:02:14 version 1.144, 2006/12/17 21:04:25
Line 1 Line 1
 /* result.c - wait for an ldap result */  /* result.c - wait for an ldap result */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.142 2006/12/14 05:58:57 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.143 2006/12/14 09:02:14 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2006 The OpenLDAP Foundation.   * Copyright 1998-2006 The OpenLDAP Foundation.
Line 1237  ldap_abandoned( LDAP *ld, ber_int_t msgi Line 1237  ldap_abandoned( LDAP *ld, ber_int_t msgi
         assert( msgid >= 0 );          assert( msgid >= 0 );
         assert( ld->ld_nabandoned >= 0 );          assert( ld->ld_nabandoned >= 0 );
   
         return lutil_bisect_find( ld->ld_abandoned, ld->ld_nabandoned, msgid, idxp );          return ldap_int_bisect_find( ld->ld_abandoned, ld->ld_nabandoned, msgid, idxp );
 }  }
   
 /*  /*
Line 1252  ldap_mark_abandoned( LDAP *ld, ber_int_t Line 1252  ldap_mark_abandoned( LDAP *ld, ber_int_t
         LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex );          LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex );
 #endif  #endif
   
         /* NOTE: those assertions are repeated in lutil_bisect_delete() */          /* NOTE: those assertions are repeated in ldap_int_bisect_delete() */
         assert( idx >= 0 );          assert( idx >= 0 );
         assert( idx < ld->ld_nabandoned );          assert( idx < ld->ld_nabandoned );
         assert( ld->ld_abandoned[ idx ] == msgid );          assert( ld->ld_abandoned[ idx ] == msgid );
   
         return lutil_bisect_delete( &ld->ld_abandoned, &ld->ld_nabandoned,          return ldap_int_bisect_delete( &ld->ld_abandoned, &ld->ld_nabandoned,
                 msgid, idx );                  msgid, idx );
 }  }

Removed from v.1.143  
changed lines
  Added in v.1.144


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org