Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the new f_name_to() calling syntax.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
579ffc3
..
a85567d
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-561,8
+561,8
@@
void generate_files(int f, struct file_list *flist, char *local_name)
file = ©
}
file = ©
}
- recv_generator(local_name
? local_name
-
: f_name_to(file,fbuf,sizeof fbuf),
file, i, f);
+ recv_generator(local_name
? local_name : f_name_to(file, fbuf),
+
file, i, f);
}
phase++;
}
phase++;
@@
-578,8
+578,8
@@
void generate_files(int f, struct file_list *flist, char *local_name)
* to catch initial checksum errors */
while ((i = get_redo_num()) != -1) {
struct file_struct *file = flist->files[i];
* to catch initial checksum errors */
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);
+ recv_generator(local_name
? local_name : f_name_to(file, fbuf),
+
file, i, f);
}
phase++;
}
phase++;