From: Howard Chu Date: Tue, 11 Oct 2005 03:05:13 +0000 (+0000) Subject: Use ldap_unbind_ext, don't depend on ldap-int.h X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~292 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b783dace69a71750b13334b125c14dd4d4a07cc;p=openldap Use ldap_unbind_ext, don't depend on ldap-int.h --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index f812d5d4aa..59ba0302aa 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -31,10 +31,6 @@ #include "ldap_rq.h" -/* FIXME: for ldap_ld_free() */ -#undef ldap_debug -#include "../../libraries/libldap/ldap-int.h" - struct nonpresent_entry { struct berval *npe_name; struct berval *npe_nname; @@ -2497,7 +2493,7 @@ syncinfo_free( syncinfo_t *sie ) avl_free( sie->si_presentlist, avl_ber_bvfree ); } if ( sie->si_ld ) { - ldap_ld_free( sie->si_ld, 1, NULL, NULL ); + ldap_unbind_ext( sie->si_ld, NULL, NULL ); } while ( !LDAP_LIST_EMPTY( &sie->si_nonpresentlist )) { struct nonpresent_entry* npe;