mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Change call to strcasecmp in ldap_sort_strcasecmp, which makes
ldap_sort_entries work with ldap_sort_strcasecmp as the comparison function. Pointers were being dereferenced, and should only have been casted.
This commit is contained in:
parent
0524589f7f
commit
b133aa528b
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ ldap_sort_strcasecmp(
|
|||
const void *b
|
||||
)
|
||||
{
|
||||
return( strcasecmp( *(char *const *)a, *(char *const *)b ) );
|
||||
return( strcasecmp( (const char *)a, (const char *)b ) );
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue