version 1.123, 2001/06/04 21:59:42 |
version 1.124, 2001/06/05 10:24:32 |
|
|
switch (c->type) { |
switch (c->type) { |
case SSH_CHANNEL_AUTH_SOCKET: |
case SSH_CHANNEL_AUTH_SOCKET: |
close(c->sock); |
close(c->sock); |
unlink(c->path); |
/* auth_sock_cleanup_proc deletes the socket */ |
channel_free(c); |
channel_free(c); |
break; |
break; |
case SSH_CHANNEL_PORT_LISTENER: |
case SSH_CHANNEL_PORT_LISTENER: |
|
|
if (nc == NULL) { |
if (nc == NULL) { |
error("auth_input_request_forwarding: channel_new failed"); |
error("auth_input_request_forwarding: channel_new failed"); |
auth_sock_cleanup_proc(pw); |
auth_sock_cleanup_proc(pw); |
|
fatal_remove_cleanup(auth_sock_cleanup_proc, pw); |
close(sock); |
close(sock); |
return 0; |
return 0; |
} |
} |