From 405929a8edba6537345dbb418d4039e321355fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 27 Oct 1998 06:23:21 +0100 Subject: [PATCH] Include channel.h. Still doesn't initialize everything properly. Rev: src/lsh.c:1.15 --- src/lsh.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/lsh.c b/src/lsh.c index 62c0cc80..81a16f1c 100644 --- a/src/lsh.c +++ b/src/lsh.c @@ -33,6 +33,7 @@ #include "alist.h" #include "atoms.h" +#include "channel.h" #include "charset.h" #include "client.h" #include "client_keyexchange.h" @@ -41,7 +42,7 @@ #include "io.h" #include "randomness.h" #include "service.h" -#include "session.h" +/* #include "session.h" */ #include "userauth.h" #include "werror.h" #include "xalloc.h" @@ -174,15 +175,16 @@ int main(int argc, char **argv) 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)))); - + (1, ATOM_SSH_USERAUTH, + make_client_userauth(ssh_format("%lz", user), + ATOM_SSH_CONNECTION, + service)))); +#endif if (!io_connect(&backend, &remote, NULL, make_client_callback(&backend, "lsh - a free ssh", -- GitLab