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
(from parent 1:
8ab02cc
)
Properly ignore source args on a --read-batch command.
author
Wayne Davison
<wayned@samba.org>
Sat, 27 Sep 2008 03:45:49 +0000
(20:45 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 27 Sep 2008 03:45:49 +0000
(20:45 -0700)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
f342150
..
c050aaa
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1206,8
+1206,8
@@
static int start_client(int argc, char *argv[])
rprintf(FERROR, "remote destination is not allowed with --read-batch\n");
exit_cleanup(RERR_SYNTAX);
}
- remote_argv = argv + argc - 1;
- remote_argc = 1;
+ remote_argv = argv +
=
argc - 1;
+ remote_argc =
argc =
1;
}
if (am_sender) {