From: Randy Kunkee Date: Fri, 24 Sep 1999 08:02:54 +0000 (+0000) Subject: Change call to strcasecmp in ldap_sort_strcasecmp, which makes X-Git-Tag: UCDATA_2_4~378 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b133aa528b0f530e5f85f190b6308a203b2b9a2c;p=openldap 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. --- diff --git a/libraries/libldap/sort.c b/libraries/libldap/sort.c index c62961b773..4e76699789 100644 --- a/libraries/libldap/sort.c +++ b/libraries/libldap/sort.c @@ -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