fix shadowed variable
authorAndrew Tridgell <tridge@samba.org>
Fri, 22 May 1998 12:07:23 +0000 (12:07 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 22 May 1998 12:07:23 +0000 (12:07 +0000)
rsync.c

diff --git a/rsync.c b/rsync.c
index 82efef5..6644f14 100644 (file)
--- 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);
   }