git.samba.org
/
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
|
history
diff --git
a/main.c
b/main.c
index f342150bab60bcb7beeb4dd773a4b606efc762af..c050aaa1137ed497c531df7b4c61b5f3a9e0f744 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) {