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

* src/connection.c (make_ssh_connection): Take a continuation as

argument.

Rev: src/connection.c:1.29
parent f59cd7a0
...@@ -152,13 +152,15 @@ struct packet_handler *make_unimplemented_handler(void) ...@@ -152,13 +152,15 @@ struct packet_handler *make_unimplemented_handler(void)
} }
struct ssh_connection *make_ssh_connection(void) struct ssh_connection *make_ssh_connection(struct command_continuation *c)
{ {
int i; int i;
NEW(ssh_connection, connection); NEW(ssh_connection, connection);
connection->super.write = handle_connection; connection->super.write = handle_connection;
connection->established = c;
/* Initialize instance variables */ /* Initialize instance variables */
/* connection->mode = mode; */ /* connection->mode = mode; */
......
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