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:
parent
c78cf0b9d2
commit
b3cd94780d
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user