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) {
}
if (shell_machine) {
- p = strchr(shell_machine,'@');
+ p = strrchr(shell_machine,'@');
if (p) {
*p = 0;
shell_user = shell_machine;