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

*** empty log message ***

Rev: src/channel.h:1.44
Rev: src/client.c:1.76
parent 758fe64c
......@@ -328,7 +328,8 @@ struct lsh_string *format_channel_eof(struct ssh_channel *channel);
void channel_close(struct ssh_channel *channel);
void channel_eof(struct ssh_channel *channel);
struct close_callback *make_channel_close(struct ssh_channel *channel);
struct close_callback *
make_channel_close_callback(struct ssh_channel *channel);
struct lsh_string *channel_transmit_data(struct ssh_channel *channel,
struct lsh_string *data);
......
......@@ -389,10 +389,16 @@ do_client_io(struct command *s UNUSED,
channel->receive = do_receive;
session->out->super.close_callback
= session->err->super.close_callback = make_channel_close(channel);
= session->err->super.close_callback
= make_channel_close_callback(channel);
session->in->super.read = make_channel_read_data(channel);
#if 0
session->in->super.close_callback
= make_channel_read_close_callback(channel);
#endif
channel->send = do_send_first;
ALIST_SET(channel->request_types, ATOM_EXIT_STATUS,
......
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