From: Andrew Tridgell Date: Fri, 22 May 1998 12:07:23 +0000 (+0000) Subject: fix shadowed variable X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/23e43fceeb918374e99005c7d1553ded436d6bab fix shadowed variable --- diff --git a/rsync.c b/rsync.c index 82efef54..6644f141 100644 --- a/rsync.c +++ b/rsync.c @@ -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); }