use COMMAND_HELPER for command helper functions
Define the numerous helpers that inherit command handler parameters using the COMMAND_HELPER macro.
This commit is contained in:
@@ -551,8 +551,7 @@ int server_register_commands(command_context_t *context)
|
||||
}
|
||||
|
||||
|
||||
int server_port_command(struct command_context_s *cmd_ctx,
|
||||
char *cmd, char **args, int argc, unsigned short *out)
|
||||
SERVER_PORT_COMMAND()
|
||||
{
|
||||
switch (argc) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user