]> git.sur5r.net Git - openldap/commitdiff
Check HAVE_CYRUS_SASL for sasl_done().
authorHoward Chu <hyc@openldap.org>
Tue, 29 Apr 2003 20:21:48 +0000 (20:21 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Apr 2003 20:21:48 +0000 (20:21 +0000)
clients/tools/ldapsearch.c

index c27528cb838fd81757b5c2c88f2c456a16a2b8bd..a362d2b453bfd2693d5ecc0a105431331b8e66bd 100644 (file)
@@ -916,7 +916,9 @@ getNextPage:
 #endif
 
        ldap_unbind( ld );
+#ifdef HAVE_CYRUS_SASL
        sasl_done();
+#endif
        ldap_pvt_tls_destroy();
        return( rc );
 }