Commit 9835fbc4 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
(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.

Rev: src/client_tcpforward.c:1.10
parent cce07bb8
......@@ -71,11 +71,11 @@ do_forward_local_port(struct client_connection_action *s,
werror("Listening on local port %S:%i failed: %e\n",
self->local->ip, self->local->port, errno);
remember_resource(connection->resources, &port->super);
remember_resource(connection->resources, &port->super.super);
......@@ -226,7 +226,6 @@ make_remote_port_state(struct remote_port *port)
(target const object address_info)))
/* FIXME: Turn into an ordinary function. */
static void
do_request_tcpip_forward(struct client_connection_action *s,
struct ssh_connection *connection)
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