From: Wayne Davison Date: Thu, 23 Feb 2006 20:29:55 +0000 (+0000) Subject: One more fuzzy tweak. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/6f2a222c591debd25626d305316480ea6f6abb2b One more fuzzy tweak. --- diff --git a/generator.c b/generator.c index 2b6c2536..9cc1f519 100644 --- a/generator.c +++ b/generator.c @@ -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));