]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-ip.c
Added ldap_pvt_sasl_bind() prototype to ldap_pvt.h. This
[openldap] / libraries / libldap / os-ip.c
index beba17ebbf26dc3e0a41d613de6c8f805747bcb4..530c9299dcea66b3a1f7041b179b98205ed960a1 100644 (file)
@@ -333,12 +333,11 @@ ldap_close_connection( Sockbuf *sb )
 }
 
 
-#if defined( HAVE_KERBEROS ) || defined( HAVE_TLS )
+#if defined( HAVE_KERBEROS ) || defined( HAVE_TLS ) || defined( HAVE_CYRUS_SASL )
 char *
 ldap_host_connected_to( Sockbuf *sb )
 {
        struct hostent          *hp;
-       char                    *p;
        socklen_t               len;
        struct sockaddr_in      sin;