diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-19 22:43:46 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-19 22:43:46 +0000 |
commit | 9c88e5dbb416f393ba4353babc02b6970cd5ba28 (patch) | |
tree | a393a174ab49ebff395477646fb4ec1f8aa9adba /usr.bin/ssh/channels.c | |
parent | fcba14d934f39edc4dfd2ef88c3e46492ffad1cb (diff) |
remove() -> unlink() for consistency
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 1583946e333..09659b0cedd 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.75 2000/12/05 20:34:09 markus Exp $"); +RCSID("$OpenBSD: channels.c,v 1.76 2000/12/19 22:43:44 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -1381,7 +1381,7 @@ channel_stop_listening() switch (channels[i].type) { case SSH_CHANNEL_AUTH_SOCKET: close(channels[i].sock); - remove(channels[i].path); + unlink(channels[i].path); channel_free(i); break; case SSH_CHANNEL_PORT_LISTENER: |