summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp.c
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-06-21 17:36:32 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-06-21 17:36:32 +0000
commit94e40cf48cc652312b2b49c2afd9b70e6a92f7b8 (patch)
treef126392af60ab5bb21752a3c84a8da68fc04bd6f /usr.bin/ssh/sftp.c
parenta3660022a0c902fed2c6f55da241879c45acb545 (diff)
make ssh -Wshadow clean, no functional changes
markus@ ok
Diffstat (limited to 'usr.bin/ssh/sftp.c')
-rw-r--r--usr.bin/ssh/sftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index 167c009bc97..cff075a66c8 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/sftp.c
@@ -16,7 +16,7 @@
#include "includes.h"
-RCSID("$OpenBSD: sftp.c,v 1.50 2004/06/20 18:53:39 djm Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.51 2004/06/21 17:36:31 avsm Exp $");
#include <glob.h>
@@ -273,13 +273,13 @@ path_append(char *p1, char *p2)
static char *
make_absolute(char *p, char *pwd)
{
- char *abs;
+ char *abs_str;
/* Derelativise */
if (p && p[0] != '/') {
- abs = path_append(pwd, p);
+ abs_str = path_append(pwd, p);
xfree(p);
- return(abs);
+ return(abs_str);
} else
return(p);
}