X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/32eda0961e9c2842ad28c6611b156d9c672b5a14..6fc048f438aeba4956a1fae1014cf85603dcab4e:/main.c diff --git a/main.c b/main.c index 619578f8..3e0705a0 100644 --- 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); - io_start_buffering_out(f_out); 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) { - p = strchr(shell_machine,'@'); + p = strrchr(shell_machine,'@'); if (p) { *p = 0; shell_user = shell_machine;