From: Kurt Zeilenga Date: Sat, 17 Aug 2002 19:59:35 +0000 (+0000) Subject: make dc const X-Git-Tag: NO_SLAP_OP_BLOCKS~1215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=678d686017d0a0405dc19f41421b5b2f58a89562;p=openldap make dc const --- diff --git a/libraries/libldap/dnssrv.c b/libraries/libldap/dnssrv.c index e2a9c0af29..fbd161b16a 100644 --- a/libraries/libldap/dnssrv.c +++ b/libraries/libldap/dnssrv.c @@ -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 );