summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-11 08:41:09 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-11 08:41:09 +0000
commitb3cd94780d9eba7119cc3a1657822e42d6097af1 (patch)
tree5a55dd453c3d178c6bc2a06c7a860247153dfe41 /source3/client
parentc78cf0b9d2e5bd83ad66b5a70440c36c309fb1ba (diff)
downloadsamba-b3cd94780d9eba7119cc3a1657822e42d6097af1.tar.gz
samba-b3cd94780d9eba7119cc3a1657822e42d6097af1.tar.bz2
samba-b3cd94780d9eba7119cc3a1657822e42d6097af1.zip
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 1386c6e25a2cf05c5c48b7a5094db3b2a6f5a5b3)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 9596a3997a..c825e8c596 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -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++)
{