mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Cast away const
This commit is contained in:
parent
b746066b9b
commit
e35ffd471b
@ -324,7 +324,7 @@ slap_discover_feature(
|
||||
char *attrs[ 2 ] = { NULL, NULL };
|
||||
|
||||
ber_str2bv( val, 0, 0, &bv_val );
|
||||
attrs[ 0 ] = attr;
|
||||
attrs[ 0 ] = (char *) attr;
|
||||
|
||||
rc = ldap_initialize( &ld, uri );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
|
Loading…
Reference in New Issue
Block a user