Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef732c3
)
We now call get_redo_num() instead of reading f_recv (which was removed).
author
Wayne Davison
<wayned@samba.org>
Thu, 15 Jan 2004 07:42:15 +0000
(07:42 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 15 Jan 2004 07:42:15 +0000
(07:42 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
5126f28
..
b325a3b
100644
(file)
--- 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;
{
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 */
/* 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);
struct file_struct *file = flist->files[i];
recv_generator(local_name? local_name
: f_name_to(file,fbuf,sizeof fbuf), file, i, f);