Commit 298d30d4 authored by Balázs Scheidler's avatar Balázs Scheidler Committed by Niels Möller
Browse files

* src/proxy_session.c (do_proxy_open_channel): Use


Rev: src/proxy_session.c:1.3
parent 95667670
......@@ -136,16 +136,15 @@ make_proxy_channel_open_continuation(struct command_continuation *up,
static struct ssh_channel *
do_proxy_open_channel(struct channel_open_command *c,
struct ssh_connection *connection,
struct ssh_connection *connection UNUSED,
UINT32 local_channel_number,
struct lsh_string **request)
CAST(proxy_channel_open_command, closure, c);
struct proxy_channel *client = make_proxy_channel(WINDOW_SIZE, closure->requests);
*request = prepare_channel_open(connection, closure->type, &client->super, "");
if (!*request)
return NULL;
*request = format_channel_open(closure->type, local_channel_number, &client->super, "");
return &client->super;
Supports Markdown
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