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

* src/connection_commands.c: Replaced io_fd with lsh_fd.

Rev: src/connection_commands.c:1.19
parent 77aff799
......@@ -321,7 +321,7 @@ do_handshake(struct command *s,
struct exception_handler *e)
{
CAST(handshake_command_2, self, s);
CAST(io_fd, fd, x);
CAST(lsh_fd, fd, x);
struct lsh_string *version;
struct ssh_connection *connection;
......@@ -365,8 +365,7 @@ do_handshake(struct command *s,
* EXC_FINISH_READ exception. */
connection = make_ssh_connection
(c, make_exc_finish_read_handler(&fd->super,
e, HANDLER_CONTEXT));
(c, make_exc_finish_read_handler(fd, e, HANDLER_CONTEXT));
connection_init_io
(connection,
......@@ -374,7 +373,7 @@ do_handshake(struct command *s,
make_buffered_read
(BUF_SIZE,
make_connection_read_line(connection, self->info->mode,
fd->super.fd, self->info->fallback)),
fd->fd, self->info->fallback)),
self->info->block_size,
make_connection_close_handler(connection))
->write_buffer->super,
......
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