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
Tweaked the month guess in OLDNEWS.
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
6881c8e
..
0f16006
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-469,7
+469,7
@@
static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
#ifdef ICONV_CONST
setup_iconv();
#endif
#ifdef ICONV_CONST
setup_iconv();
#endif
- if (protect_args)
+ if (protect_args
&& !daemon_over_rsh
)
send_protected_args(*f_out_p, args);
}
send_protected_args(*f_out_p, args);
}
@@
-1187,8
+1187,8
@@
static int start_client(int argc, char *argv[])
rprintf(FERROR, "remote destination is not allowed with --read-batch\n");
exit_cleanup(RERR_SYNTAX);
}
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) {
}
if (am_sender) {