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

a '@' in it.
This commit is contained in:
Wayne Davison committed 2004-01-20 05:27:09 +00:00
1 parent 5d2a707139
commit 6fc048f438
1 file changed
+1 -1
+1 -1
View File
@@ -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;