Return to sftp-server.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.129, 2021/08/09 23:47:44 | version 1.130, 2021/11/06 10:13:39 | ||
---|---|---|---|
|
|
||
npath = xstrdup(path + 2); | npath = xstrdup(path + 2); | ||
free(path); | free(path); | ||
xasprintf(&path, "%s/%s", cwd, npath); | xasprintf(&path, "%s/%s", cwd, npath); | ||
free(npath); | |||
} else { | } else { | ||
/* ~user expansions */ | /* ~user expansions */ | ||
if (tilde_expand(path, pw->pw_uid, &npath) != 0) { | if (tilde_expand(path, pw->pw_uid, &npath) != 0) { |