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
Find last '@' in the user@site string, just in case the username has
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
619578f
..
3e0705a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-607,7
+607,6
@@
int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
rprintf(FINFO,"file list sent\n");
io_flush(NORMAL_FLUSH);
rprintf(FINFO,"file list sent\n");
io_flush(NORMAL_FLUSH);
- io_start_buffering_out(f_out);
send_files(flist,f_out,f_in);
io_flush(FULL_FLUSH);
if (protocol_version >= 24) {
send_files(flist,f_out,f_in);
io_flush(FULL_FLUSH);
if (protocol_version >= 24) {
@@
-820,7
+819,7
@@
static int start_client(int argc, char *argv[])
}
if (shell_machine) {
}
if (shell_machine) {
- p = strchr(shell_machine,'@');
+ p = str
r
chr(shell_machine,'@');
if (p) {
*p = 0;
shell_user = shell_machine;
if (p) {
*p = 0;
shell_user = shell_machine;