summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-22 11:39:10 +0100
committerVolker Lendecke <vl@samba.org>2009-03-22 11:44:13 +0100
commit14df86e9e368fdab327bd07a2954f650b2946ff2 (patch)
treee7334e08d15d01b30d7d97721042fe8a30a3f3c1
parent2835d0d46331ae5275b8f9eaeea7dd78e998cfeb (diff)
downloadsamba-14df86e9e368fdab327bd07a2954f650b2946ff2.tar.gz
samba-14df86e9e368fdab327bd07a2954f650b2946ff2.tar.bz2
samba-14df86e9e368fdab327bd07a2954f650b2946ff2.zip
Use StrCaseCmp in the dirsort module
-rw-r--r--source3/modules/vfs_dirsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_dirsort.c b/source3/modules/vfs_dirsort.c
index f9a31c8976..53d1820c11 100644
--- a/source3/modules/vfs_dirsort.c
+++ b/source3/modules/vfs_dirsort.c
@@ -23,7 +23,7 @@
static int compare_dirent (const void *a, const void *b) {
const SMB_STRUCT_DIRENT *da = (const SMB_STRUCT_DIRENT *) a;
const SMB_STRUCT_DIRENT *db = (const SMB_STRUCT_DIRENT *) b;
- return strcmp(da->d_name, db->d_name);
+ return StrCaseCmp(da->d_name, db->d_name);
}
struct dirsort_privates {