Commit 159b333d authored by Niels Möller's avatar Niels Möller

Use make_client_Startup().

Rev: src/lsh.c:1.16
parent abfc96df
......@@ -170,21 +170,17 @@ int main(int argc, char **argv)
service = make_connection_service
(make_alist(0, -1),
make_alist(0, -1));
make_alist(0, -1),
make_client_startup(1));
kexinit_handler = make_kexinit_handler
(CONNECTION_CLIENT,
make_kexinit, algorithms,
4711);
#if 0
/* FIXME: make_service_handler is wrong function: It's for
* the server side. */
make_service_handler(make_alist
(1, ATOM_SSH_USERAUTH,
make_client_userauth(ssh_format("%lz", user),
ATOM_SSH_CONNECTION,
service))));
#endif
request_service(ATOM_SSH_USERAUTH,
make_client_userauth(ssh_format("%lz", user),
ATOM_SSH_CONNECTION,
service)));
if (!io_connect(&backend, &remote, NULL,
make_client_callback(&backend,
"lsh - a free ssh",
......
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