Skip to content
Snippets Groups Projects
Commit 5f880ae0 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty.

parent fb3b8e5e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment