mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Back out my change to ldap_sort_strcasecmp. My mistake from not reading
manpage carefully. One should pass strcasecmp to ldap_sort_entries, not ldap_sort_strcasecmp. Ldap_sort_strcasecmp is for ldap_sort_values, NOT ldap_sort_entries.
This commit is contained in:
parent
b133aa528b
commit
24c81ea599
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ ldap_sort_strcasecmp(
|
|||
const void *b
|
||||
)
|
||||
{
|
||||
return( strcasecmp( (const char *)a, (const char *)b ) );
|
||||
return( strcasecmp( *(char *const *)a, *(char *const *)b ) );
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue