1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

don't use system functions as arguments to qsort() as otherwise you

get stuck on systems with broken headers (like SunOS4). In this case
use StrCaseCmp instead of strcasecmp
(This used to be commit 1386c6e25a)
This commit is contained in:
Andrew Tridgell 1998-05-11 08:41:09 +00:00
parent c78cf0b9d2
commit b3cd94780d

View File

@ -2969,7 +2969,7 @@ static BOOL browse_host(BOOL sort)
}
if (sort)
qsort(p,count,20,QSORT_CAST strcasecmp);
qsort(p,count,20,QSORT_CAST StrCaseCmp);
for (i=0;i<count;i++)
{