From: Pierangelo Masarati Date: Tue, 2 Aug 2005 08:13:16 +0000 (+0000) Subject: save 1 function call... X-Git-Tag: OPENLDAP_AC_BP~108 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4148ddc31fbe513e3c169b6fd5ca0f6de27c2f8e;p=openldap save 1 function call... --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index abd8912f7c..e47e6e4519 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -367,7 +367,7 @@ retry:; if ( rs->sr_err == LDAP_SERVER_DOWN || ( rs->sr_err != LDAP_SUCCESS && LDAP_BACK_TLS_CRITICAL( li ) ) ) { - ldap_unbind_ext_s( ld, NULL, NULL ); + ldap_unbind_ext( ld, NULL, NULL ); goto error_return; } @@ -672,7 +672,7 @@ retry_lock:; assert( lc->lc_refcnt > 0 ); if ( lc->lc_refcnt == 1 ) { - ldap_unbind_ext_s( lc->lc_ld, NULL, NULL ); + ldap_unbind_ext( lc->lc_ld, NULL, NULL ); lc->lc_ld = NULL; /* lc here must be the regular lc, reset and ready for init */ @@ -841,7 +841,7 @@ retry_lock:; } if ( lc->lc_refcnt == 1 ) { - ldap_unbind_ext_s( lc->lc_ld, NULL, NULL ); + ldap_unbind_ext( lc->lc_ld, NULL, NULL ); lc->lc_ld = NULL; lc->lc_bound = 0; diff --git a/servers/slapd/back-ldap/init.c b/servers/slapd/back-ldap/init.c index 1b56c94c38..82e0900ca3 100644 --- a/servers/slapd/back-ldap/init.c +++ b/servers/slapd/back-ldap/init.c @@ -204,7 +204,7 @@ ldap_back_conn_free( void *v_lc ) struct ldapconn *lc = v_lc; if ( lc->lc_ld != NULL ) { - ldap_unbind_ext_s( lc->lc_ld, NULL, NULL ); + ldap_unbind_ext( lc->lc_ld, NULL, NULL ); } if ( !BER_BVISNULL( &lc->lc_bound_ndn ) ) { ch_free( lc->lc_bound_ndn.bv_val );