Return to scp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.120, 2005/03/31 18:39:21 | version 1.121, 2005/04/02 12:41:16 | ||
---|---|---|---|
|
|
||
if (*targ == 0) | if (*targ == 0) | ||
targ = "."; | targ = "."; | ||
arg = strdup(argv[argc - 1]); | arg = xstrdup(argv[argc - 1]); | ||
if (!arg) | |||
err(1, "malloc"); | |||
if ((thost = strrchr(arg, '@'))) { | if ((thost = strrchr(arg, '@'))) { | ||
/* user@host */ | /* user@host */ | ||
*thost++ = 0; | *thost++ = 0; |