]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Undo overzealous deletion.
authorMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 10:09:00 +0000 (10:09 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 25 Jan 2002 10:09:00 +0000 (10:09 +0000)
flist.c

diff --git a/flist.c b/flist.c
index 9c5f7372589c195f893be2efbfee2aba80945c9c..0761497e91b6976e711edd5ebc0f20a652868e2e 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -1009,6 +1009,8 @@ struct file_list *recv_file_list(int f)
 
 
        for (flags = read_byte(f); flags; flags = read_byte(f)) {
+               int i = flist->count;
+               
                flist_expand(flist);
 
                receive_file_entry(&flist->files[i], flags, f);