From: Hallvard Furuseth Date: Tue, 13 Jul 1999 06:48:35 +0000 (+0000) Subject: Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~164 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f880ae022f078c89b66316e7aeaa02019eabc42;p=openldap Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty. --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index e26412af07..c69b0b3e45 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -22,7 +22,7 @@ #include "ldap-int.h" -static char **explode_name( LDAP_CONST char *name, int notypes, int is_dn ); +static char **explode_name( const char *name, int notypes, int is_dn ); char * ldap_get_dn( LDAP *ld, LDAPMessage *entry ) @@ -182,7 +182,7 @@ ldap_explode_rdn( LDAP_CONST char *rdn, int notypes ) } static char ** -explode_name( LDAP_CONST char *name, int notypes, int is_dn ) +explode_name( const char *name, int notypes, int is_dn ) { const char *p, *q; char **parts = NULL;