diff options
author | djm <djm> | 2000-09-29 12:01:36 +0000 |
---|---|---|
committer | djm <djm> | 2000-09-29 12:01:36 +0000 |
commit | 27a840466c75d594c450eae709dc5aeeca8c5bab (patch) | |
tree | 8a95134daab502920a6232c839c0acdfc54a335c /channels.c | |
parent | 3aed815c8d1460d46cfe5b196e426d168501330d (diff) | |
download | openssh-27a840466c75d594c450eae709dc5aeeca8c5bab.tar.gz |
- (djm) Merged big SCO portability patch from Tim Rice
<tim@multitalents.net>
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1317,7 +1317,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: @@ -2139,7 +2139,7 @@ auth_get_socket_name() void cleanup_socket(void) { - remove(channel_forwarded_auth_socket_name); + unlink(channel_forwarded_auth_socket_name); rmdir(channel_forwarded_auth_socket_dir); } |