diff options
author | Kevin Steves <stevesk@pobox.com> | 2000-12-21 23:33:45 +0100 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2000-12-21 23:33:45 +0100 |
commit | a074feb65d6f1fcad02e80b751e2287fd6230b09 (patch) | |
tree | 251cf49da8454f5ad6b3d4ac7449c33617848d9d /sftp-server.c | |
parent | - (djm) Workaround PAM inconsistencies between Solaris derived PAM code (diff) | |
download | openssh-a074feb65d6f1fcad02e80b751e2287fd6230b09.tar.xz openssh-a074feb65d6f1fcad02e80b751e2287fd6230b09.zip |
- (stevesk) OpenBSD CVS updates:
- markus@cvs.openbsd.org 2000/12/19 15:43:45
[authfile.c channels.c sftp-server.c ssh-agent.c]
remove() -> unlink() for consistency
- markus@cvs.openbsd.org 2000/12/19 15:48:09
[ssh-keyscan.c]
replace <ssl/x.h> with <openssl/x.h>
- markus@cvs.openbsd.org 2000/12/17 02:33:40
[uidswap.c]
typo; from wsanchez@apple.com
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c index 5be2d4db4..8a77e58c2 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: sftp-server.c,v 1.7 2000/12/09 14:08:27 markus Exp $"); +RCSID("$OpenBSD: sftp-server.c,v 1.8 2000/12/19 22:43:44 markus Exp $"); #include "ssh.h" #include "buffer.h" @@ -854,7 +854,7 @@ process_remove(void) id = get_int(); name = get_string(NULL); TRACE("remove id %d name %s", id, name); - ret = remove(name); + ret = unlink(name); status = (ret == -1) ? errno_to_portable(errno) : SSH_FX_OK; send_status(id, status); xfree(name); |