Fix ntfs_names_collate() input sanity check intrudoced in cleanups by

reverting to the original one
edge.strict_endians
szaka 2005-09-24 15:29:54 +00:00
parent 464eab4178
commit 054d6777d5
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ int ntfs_names_collate(const ntfschar *name1, const u32 name1_len,
ntfschar c1, c2;
#ifdef DEBUG
if (!name1 || !name2 || (ic && (!upcase || !upcase_len))) {
if (!name1 || !name2 || (ic && !upcase && upcase_len)) {
Dputs("ntfs_names_collate received NULL pointer!");
exit(1);
}