Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
b8b64498
Commit
b8b64498
authored
Nov 15, 2000
by
Niels Möller
Browse files
* src/gateway_commands.c (do_gateway_accept): Use
connection_command. Rev: src/gateway_commands.c:1.5
parent
355fb2f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gateway_commands.c
View file @
b8b64498
...
...
@@ -145,11 +145,9 @@ DEFINE_COMMAND(gateway_init, a, c, e)
}
/* FIXME: Same vars as connection_remember_command */
/* (gateway_accept main-connection gateway-connection) */
/* GABA:
/*
;;
GABA:
(class
(name gateway_accept_command)
(super command)
...
...
@@ -163,7 +161,7 @@ do_gateway_accept(struct command *s,
struct
command_continuation
*
c
,
struct
exception_handler
*
e
)
{
CAST
(
gateway_accept
_command
,
self
,
s
);
CAST
(
connection
_command
,
self
,
s
);
CAST
(
listen_value
,
lv
,
x
);
struct
ssh_connection
*
gateway
=
gateway_make_connection
(
lv
,
e
);
...
...
@@ -179,7 +177,7 @@ do_gateway_accept(struct command *s,
DEFINE_COMMAND_SIMPLE
(
gateway_accept
,
a
)
{
CAST
(
ssh_connection
,
connection
,
a
);
NEW
(
gateway_accept
_command
,
self
);
NEW
(
connection
_command
,
self
);
self
->
connection
=
connection
;
self
->
super
.
call
=
do_gateway_accept
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment