Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.81, 2006/04/20 21:53:44 | version 1.82, 2006/05/17 12:43:34 | ||
---|---|---|---|
|
|
||
if (g.gl_matchc == 1 && dst) { | if (g.gl_matchc == 1 && dst) { | ||
/* If directory specified, append filename */ | /* If directory specified, append filename */ | ||
xfree(tmp); | |||
if (is_dir(dst)) { | if (is_dir(dst)) { | ||
if (infer_path(g.gl_pathv[0], &tmp)) { | if (infer_path(g.gl_pathv[0], &tmp)) { | ||
err = 1; | err = 1; | ||
|
|
||
out: | out: | ||
xfree(abs_src); | xfree(abs_src); | ||
if (abs_dst) | |||
xfree(abs_dst); | |||
globfree(&g); | globfree(&g); | ||
return(err); | return(err); | ||
} | } |