Commit 6fc048f4 authored by Wayne Davison's avatar Wayne Davison

Find last '@' in the user@site string, just in case the username has

a '@' in it.
parent 5d2a7071
......@@ -819,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment