]> git.sur5r.net Git - openldap/blobdiff - clients/tools/ldapsearch.c
Use ldap_unbind_ext(3)
[openldap] / clients / tools / ldapsearch.c
index c5b6f57e479b2ffb65903c6747922669fe1a7f4f..6afae24d4836c1dd7b9584be19e116a2f0a0a01f 100644 (file)
@@ -825,7 +825,7 @@ getNextPage:
        }
 #endif
 
-       ldap_unbind( ld );
+       ldap_unbind_ext( ld, NULL, NULL );
 #ifdef HAVE_CYRUS_SASL
        sasl_done();
 #endif