Commit 1746a988 authored by Niels Möller's avatar Niels Möller
Browse files

* src/tcpforward_commands.c (do_tcpip_connect_io): Take a

listen_value as argument, not an lsh_fd.

Rev: src/tcpforward_commands.c:1.25
parent 98e0f463
......@@ -83,11 +83,12 @@ do_tcpip_connect_io(struct command *ignored UNUSED,
struct command_continuation *c,
struct exception_handler *e UNUSED)
{
CAST(lsh_fd, socket, x);
CAST(listen_value, lv, x);
assert(socket);
COMMAND_RETURN(c, make_tcpip_channel(socket, TCPIP_WINDOW_SIZE));
assert(lv);
assert(lv->fd);
COMMAND_RETURN(c, make_tcpip_channel(lv->fd, TCPIP_WINDOW_SIZE));
}
struct command tcpip_connect_io = STATIC_COMMAND(do_tcpip_connect_io);
......
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