Fix double-fuzzy + link-dest issue.
authorWayne Davison <wayned@samba.org>
Sun, 8 Oct 2017 15:39:35 +0000 (08:39 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 8 Oct 2017 15:39:37 +0000 (08:39 -0700)
Fixes bug 11866.

generator.c

index fe5fece106a06539d70f2aa680a23e86197e4435..af2e2902df053f5989188830bef4e3fd6ec6c796 100644 (file)
@@ -1755,7 +1755,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
 
        if (fnamecmp_type <= FNAMECMP_BASIS_DIR_HIGH)
                ;
-       else if (fnamecmp_type == FNAMECMP_FUZZY)
+       else if (fnamecmp_type >= FNAMECMP_FUZZY)
                ;
        else if (unchanged_file(fnamecmp, file, &sx.st)) {
                if (partialptr) {