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

* src/io.c (make_connect_callback): Made non-static.

(io_connect): Changed interface, to take an io_callback instead of
a continuation. The caller has to use make_connect_callback to get
the old functionality.
(io_connect_local): Adapted to new io_conenct interface, and call
make_connect_list_callback.
* src/client_x11.c (channel_open_x11): Likewise.

Rev: src/client_x11.c:1.23
parent 99b6694e
......@@ -459,8 +459,9 @@ DEFINE_CHANNEL_OPEN(channel_open_x11)
struct lsh_fd *fd
= io_connect(display->address,
display->address_length,
make_channel_open_x11_continuation(display,
c),
make_connect_callback
(make_channel_open_x11_continuation(display,
c)),
make_exc_x11_connect_handler(e, HANDLER_CONTEXT));
if (fd)
......
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