]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Use StrCaseCmp in the dirsort module
authorVolker Lendecke <vl@samba.org>
Sun, 22 Mar 2009 10:39:10 +0000 (11:39 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 22 Mar 2009 11:27:36 +0000 (12:27 +0100)
source/modules/vfs_dirsort.c

index a699a1d1f9d633e046daf56abd18af949aa39743..d7f2b03a3222a09c197abf13125fbd7d1ae72bc8 100644 (file)
@@ -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 {