mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 04:51:58 -04:00
fix shadowed variable
This commit is contained in:
1 parent
f900f5fe71
commit
23e43fceeb
1 file changed
+1
-1
@@ -940,7 +940,7 @@ int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
|
||||
/* now we need to fix any directory permissions that were
|
||||
modified during the transfer */
|
||||
for (i = 0; i < flist->count; i++) {
|
||||
struct file_struct *file = flist->files[i];
|
||||
file = flist->files[i];
|
||||
if (!file->basename || !S_ISDIR(file->mode)) continue;
|
||||
recv_generator(f_name(file),flist,i,-1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user