From 9c88e5dbb416f393ba4353babc02b6970cd5ba28 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Tue, 19 Dec 2000 22:43:46 +0000 Subject: remove() -> unlink() for consistency --- usr.bin/ssh/channels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/channels.c') 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: -- cgit v1.2.3