mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-15 16:47:56 -05:00
Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty.
This commit is contained in:
parent
fb3b8e5ef1
commit
5f880ae022
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue