diff options
author | dtucker <dtucker> | 2004-06-22 02:56:01 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2004-06-22 02:56:01 +0000 |
commit | a9921605bf811b4183d1a2e8333052ac40d5de50 (patch) | |
tree | f51e46f9a12b6e14f4c9277ad9267ed4bbf1d51a /sftp.c | |
parent | 4358312fd5d17763e6af4ceed1e311447f5ef97b (diff) | |
download | openssh-a9921605bf811b4183d1a2e8333052ac40d5de50.tar.gz |
- avsm@cvs.openbsd.org 2004/06/21 17:36:31
[auth-rsa.c auth2-gss.c auth2-pubkey.c authfile.c canohost.c channels.c
cipher.c dns.c kex.c monitor.c monitor_fdpass.c monitor_wrap.c
monitor_wrap.h nchan.c packet.c progressmeter.c scp.c sftp-server.c sftp.c
ssh-gss.h ssh-keygen.c ssh.c sshconnect.c sshconnect1.c sshlogin.c
sshpty.c]
make ssh -Wshadow clean, no functional changes
markus@ ok
There are also some portable-specific -Wshadow warnings to be fixed in
monitor.c and montior_wrap.c.
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 "buffer.h" #include "xmalloc.h" @@ -277,13 +277,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); } |