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 9c5f737..0761497 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);