ld could be used after ldap_unbind_ext()

This commit is contained in:
Pierangelo Masarati 2007-03-18 20:44:11 +00:00
parent 2ad757793d
commit 12fa465fd9
2 changed files with 2 additions and 0 deletions

View File

@ -343,6 +343,7 @@ retry:;
case LDAP_UNAVAILABLE:
if ( do_retry > 0 ) {
ldap_unbind_ext( ld, NULL, NULL );
ld = NULL;
do_retry--;
if ( delay != 0 ) {
sleep( delay );

View File

@ -373,6 +373,7 @@ retry:;
case LDAP_UNAVAILABLE:
if ( do_retry > 0 ) {
ldap_unbind_ext( ld, NULL, NULL );
ld = NULL;
do_retry--;
if ( delay != 0 ) {
sleep( delay );