Improved the call to f_name_cmp().
authorWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 20:06:18 +0000 (20:06 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 20:06:18 +0000 (20:06 +0000)
hlink.c

diff --git a/hlink.c b/hlink.c
index 502d855..84bca50 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -36,7 +36,7 @@ static int hlink_compare(struct file_struct **file1, struct file_struct **file2)
        if (f1->F_INODE != f2->F_INODE)
                return (int) (f1->F_INODE > f2->F_INODE ? 1 : -1);
 
-       return f_name_cmp(*file1, *file2);
+       return f_name_cmp(f1, f2);
 }
 
 static struct file_struct **hlink_list;