One more fuzzy tweak.
authorWayne Davison <wayned@samba.org>
Thu, 23 Feb 2006 20:29:55 +0000 (20:29 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 23 Feb 2006 20:29:55 +0000 (20:29 +0000)
generator.c

index 2b6c253..9cc1f51 100644 (file)
@@ -848,8 +848,10 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                }
                parent_dirname = dn;
 
-               if (need_fuzzy_dirlist && S_ISREG(file->mode))
+               if (need_fuzzy_dirlist && S_ISREG(file->mode)) {
                        fuzzy_dirlist = get_dirlist(dn, -1, 1);
+                       need_fuzzy_dirlist = 0;
+               }
 
                statret = link_stat(fname, &st,
                                    keep_dirlinks && S_ISDIR(file->mode));