mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
make dc const
This commit is contained in:
parent
472484725f
commit
678d686017
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ int ldap_dn2domain(
|
|||
LDAPRDN *rdn = NULL;
|
||||
LDAPAVA *ava = NULL;
|
||||
struct berval domain = { 0, NULL };
|
||||
static struct berval DC = BER_BVC("DC");
|
||||
static struct berval DCOID = BER_BVC("0.9.2342.19200300.100.1.25");
|
||||
const static struct berval DC = BER_BVC("DC");
|
||||
const static struct berval DCOID = BER_BVC("0.9.2342.19200300.100.1.25");
|
||||
|
||||
assert( dn_in != NULL );
|
||||
assert( domainp != NULL );
|
||||
|
|
|
|||
Loading…
Reference in a new issue