From c2369771f8185c93d89ce58abc71d53341677312 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 6 May 2006 17:22:59 +0000 Subject: [PATCH] cleanup --- servers/slapd/back-meta/conn.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-meta/conn.c b/servers/slapd/back-meta/conn.c index 59cd94962a..1158d2f00d 100644 --- a/servers/slapd/back-meta/conn.c +++ b/servers/slapd/back-meta/conn.c @@ -402,7 +402,8 @@ retry:; if ( rs->sr_err == LDAP_SERVER_DOWN || ( rs->sr_err != LDAP_SUCCESS && LDAP_BACK_TLS_CRITICAL( mi ) ) ) { - ldap_unbind_ext_s( msc->msc_ld, NULL, NULL ); + ldap_unbind_ext( msc->msc_ld, NULL, NULL ); + msc->msc_ld = NULL; goto error_return; } } @@ -456,7 +457,8 @@ retry:; if ( ldap_back_dn_massage( &dc, &op->o_conn->c_dn, &msc->msc_bound_ndn ) ) { - ldap_unbind_ext_s( msc->msc_ld, NULL, NULL ); + ldap_unbind_ext( msc->msc_ld, NULL, NULL ); + msc->msc_ld = NULL; goto error_return; } -- 2.39.5