diff options
Diffstat (limited to 'src/server/telnet_server.c')
-rw-r--r-- | src/server/telnet_server.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index b77deff1..c409ec0a 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -606,14 +606,12 @@ int telnet_init(char *banner) } /* daemon configuration command telnet_port */ -static int handle_telnet_port_command(struct command_context_s *cmd_ctx, - char *cmd, char **args, int argc) +COMMAND_HANDLER(handle_telnet_port_command) { return server_port_command(cmd_ctx, cmd, args, argc, &telnet_port); } -static int handle_exit_command(struct command_context_s *cmd_ctx, - char *cmd, char **args, int argc) +COMMAND_HANDLER(handle_exit_command) { return ERROR_COMMAND_CLOSE_CONNECTION; } |