From: Wayne Davison Date: Thu, 15 Jan 2004 07:42:15 +0000 (+0000) Subject: We now call get_redo_num() instead of reading f_recv (which was removed). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b9b15fb165d9adbfb56201429af2bd0f492c483c We now call get_redo_num() instead of reading f_recv (which was removed). --- diff --git a/generator.c b/generator.c index 5126f281..b325a3b1 100644 --- a/generator.c +++ b/generator.c @@ -522,7 +522,7 @@ void recv_generator(char *fname, struct file_struct *file, int i, int f_out) } -void generate_files(int f,struct file_list *flist,char *local_name,int f_recv) +void generate_files(int f, struct file_list *flist, char *local_name) { int i; int phase=0; @@ -576,7 +576,7 @@ void generate_files(int f,struct file_list *flist,char *local_name,int f_recv) /* files can cycle through the system more than once * to catch initial checksum errors */ - while ((i = read_int(f_recv)) != -1) { + while ((i = get_redo_num()) != -1) { struct file_struct *file = flist->files[i]; recv_generator(local_name? local_name : f_name_to(file,fbuf,sizeof fbuf), file, i, f);