summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorderaadt@openbsd.org <deraadt@openbsd.org>2014-08-20 01:28:55 +0000
committerDamien Miller <djm@mindrot.org>2014-10-13 11:37:14 +1100
commit40ba4c9733aaed08304714faeb61529f18da144b (patch)
treed5e98bf247e26b390cc49f2a3206d344429620f2 /sftp.c
parent57d378ec9278ba417a726f615daad67d157de666 (diff)
upstream commit
djm how did you make a typo like that...
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index 0fc622fe2..81d67c927 100644
--- a/sftp.c
+++ b/sftp.c
@@ -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) {