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

(do_lshg_send_ignore): Use C_WRITE_NOW.

Rev: src/lshg.c:1.16
parent fd8e9c17
......@@ -108,7 +108,7 @@ do_lshg_send_debug(struct command *s,
CAST(lshg_simple_action, self, s);
CAST(ssh_connection, connection, x);
send_debug_message(connection->write, self->msg, 1);
send_debug_message(connection, self->msg, 1);
}
static struct command *
......@@ -130,7 +130,8 @@ do_lshg_send_ignore(struct command *s,
CAST(lshg_simple_action, self, s);
CAST(ssh_connection, connection, x);
C_WRITE(connection, ssh_format("%c%z", SSH_MSG_IGNORE, self->msg));
/* Can be sent even during key exchange. */
C_WRITE_NOW(connection, ssh_format("%c%z", SSH_MSG_IGNORE, self->msg));
}
static struct command *
......
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