diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.165 2014/08/19 23:57:18 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.166 2014/08/20 01:28:55 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -1519,7 +1519,7 @@ parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd, | |||
1519 | err = do_df(conn, path1, hflag, iflag); | 1519 | err = do_df(conn, path1, hflag, iflag); |
1520 | break; | 1520 | break; |
1521 | case I_LCHDIR: | 1521 | case I_LCHDIR: |
1522 | tmp = tilde_expand_filename(path1, getuid()) | 1522 | tmp = tilde_expand_filename(path1, getuid()); |
1523 | free(path1); | 1523 | free(path1); |
1524 | path1 = tmp; | 1524 | path1 = tmp; |
1525 | if (chdir(path1) == -1) { | 1525 | if (chdir(path1) == -1) { |