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
fixed a nasty bug in the handling of "local_name" when setting the
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
2b8869d
..
6361d21
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-477,7
+477,7
@@
int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
for (i = 0; i < flist->count; i++) {
file = flist->files[i];
if (!file->basename || !S_ISDIR(file->mode)) continue;
- recv_generator(f_name(file),flist,i,-1);
+ recv_generator(
local_name?local_name:
f_name(file),flist,i,-1);
}
if (verbose > 2)