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:
603e6b0
)
If we're the server and --files-from is "-", set remote_filesfrom_file
author
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 00:53:07 +0000
(
00:53
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 00:53:07 +0000
(
00:53
+0000)
to "-" as well (since the data is coming over the socket from the remote
side).
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
b8c9f3d
..
85880ca
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-657,8
+657,11
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
usage(FERROR);
exit_cleanup(RERR_SYNTAX);
}
- if (strcmp(files_from, "-") == 0)
+ if (strcmp(files_from, "-") == 0)
{
filesfrom_fd = 0;
+ if (am_server)
+ remote_filesfrom_file = "-";
+ }
else if ((colon = find_colon(files_from)) != 0) {
if (am_server) {
usage(FERROR);