]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/cldap.c
rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide
[openldap] / libraries / libldap / cldap.c
index 145633e921d6312c65ab19051b8162141ff67e19..def3e8b6df34af1b4d1e0eb0bb6b328f41fdc6ac 100644 (file)
@@ -156,9 +156,7 @@ cldap_open( char *host, int port )
     }
 
     if ( ld->ld_cldapaddrs == NULL
-#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
            || ( ld->ld_defconn = ldap_new_connection( ld, NULL, 1,0,0 )) == NULL
-#endif /* LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
            ) {
        ldap_ld_free( ld, 0 );
        DO_RETURN( NULL );