]> git.sur5r.net Git - openldap/commitdiff
save 1 function call...
authorPierangelo Masarati <ando@openldap.org>
Tue, 2 Aug 2005 08:13:16 +0000 (08:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 2 Aug 2005 08:13:16 +0000 (08:13 +0000)
servers/slapd/back-ldap/bind.c
servers/slapd/back-ldap/init.c

index abd8912f7c341232b46ebc4a75c351c9d911c6a6..e47e6e451921b6bfbe16b176002f4291a37e098b 100644 (file)
@@ -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;
 
index 1b56c94c38ba13083fe5e2b9c62e084f6a8af651..82e0900ca3cc59471359e4159ae041a12ad41321 100644 (file)
@@ -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 );