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

(login_service_command): Deleted redundant command.

Rev: src/channel.c:1.119
Rev: src/channel.h:1.75
parent 4083c43b
...@@ -1709,20 +1709,6 @@ DEFINE_COMMAND(connection_service_command) ...@@ -1709,20 +1709,6 @@ DEFINE_COMMAND(connection_service_command)
COMMAND_RETURN(c, connection); COMMAND_RETURN(c, connection);
} }
DEFINE_COMMAND(login_service_command)
(struct command *s UNUSED,
struct lsh_object *a,
struct command_continuation *c,
struct exception_handler *e UNUSED)
{
CAST(ssh_connection, connection, a);
init_connection_service(connection);
COMMAND_RETURN(c, connection);
}
struct lsh_string * struct lsh_string *
format_channel_close(struct ssh_channel *channel) format_channel_close(struct ssh_channel *channel)
{ {
......
...@@ -437,10 +437,10 @@ void init_connection_service(struct ssh_connection *connection); ...@@ -437,10 +437,10 @@ void init_connection_service(struct ssh_connection *connection);
extern struct command connection_service_command; extern struct command connection_service_command;
#define INIT_CONNECTION_SERVICE (&connection_service_command.super) #define INIT_CONNECTION_SERVICE (&connection_service_command.super)
#if 0
void init_login_service(struct ssh_connection *connection); void init_login_service(struct ssh_connection *connection);
extern struct command login_service_command; extern struct command login_service_command;
#define INIT_LOGIN_SERVICE (&login_service_command.super) #define INIT_LOGIN_SERVICE (&login_service_command.super)
#endif
#endif /* LSH_CHANNEL_H_INCLUDED */ #endif /* LSH_CHANNEL_H_INCLUDED */
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