diff options
author | Kevin Steves <stevesk@pobox.com> | 2000-12-21 22:33:45 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2000-12-21 22:33:45 +0000 |
commit | a074feb65d6f1fcad02e80b751e2287fd6230b09 (patch) | |
tree | 251cf49da8454f5ad6b3d4ac7449c33617848d9d /sftp-server.c | |
parent | 82cf0ceea899d4c7a47bdec79eea6dc2a8576bc7 (diff) | |
download | openssh-git-a074feb65d6f1fcad02e80b751e2287fd6230b09.tar.gz |
- (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 5be2d4db..8a77e58c 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); |