Commit 0ebe1df5 authored by Niels Möller's avatar Niels Möller
Browse files

* src/io.c (kill_io_fd_resource): New function, replacing

kill_io_connect_state and kill_io_listen_port.
(init_io_connect_state): Updated for new super class
io_fd_resource.
(oop_io_connect): Likewise.
(io_connect): Likewise.
(init_io_listen_port): Likewise.
(oop_io_accept): Likewise.
(io_listen): Likewise.
* src/client_tcpforward.c (do_forward_local_port): Likewise.
* src/client_x11.c (x11_connect): Likewise.
* src/gateway.c (do_gateway_port_accept): Likewise.
(make_gateway_port): Likewise.
* src/server_session.c (do_kill_server_session): Likewise.

Rev: src/server_session.c:1.115
parent 6c8aa866
......@@ -106,7 +106,7 @@ do_kill_server_session(struct resource *s)
KILL_RESOURCE(&self->pty->super);
if (self->x11)
KILL_RESOURCE(&self->x11->super.super);
KILL_RESOURCE(&self->x11->super.super.super);
/* Doesn't use channel_write_state_close, since the channel is
supposedly dead already. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment