fixed a race condition in the --delete handling code. The bug led to
[rsync/rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index a185082..5cf3044 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -548,7 +548,7 @@ static void send_directory(int f,struct file_list *flist,char *dir)
                    strcmp(dname,"..")==0)
                        continue;
                strlcpy(p,dname,MAXPATHLEN-(l+1));
-               send_file_name(f,flist,fname,recurse,FLAG_DELETE);
+               send_file_name(f,flist,fname,recurse,0);
        }
 
        closedir(d);