diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 06:45:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 06:45:28 +0000 |
commit | 62457bce0b6d23c1b6a8206582ac3dd206d4225d (patch) | |
tree | 42428d54daf3273242003827d16ae37d81e50230 /cmd-list-commands.c | |
parent | df2b3bcf44299d7060b3bc6c17c6e80a1f358692 (diff) | |
download | rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.tar.gz rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.tar.bz2 rtmux-62457bce0b6d23c1b6a8206582ac3dd206d4225d.zip |
Trim.
Diffstat (limited to 'cmd-list-commands.c')
-rw-r--r-- | cmd-list-commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-list-commands.c b/cmd-list-commands.c index 8f1699a8..91862c0b 100644 --- a/cmd-list-commands.c +++ b/cmd-list-commands.c @@ -1,4 +1,4 @@ -/* $Id: cmd-list-commands.c,v 1.1 2008-06-23 22:24:16 nicm Exp $ */ +/* $Id: cmd-list-commands.c,v 1.2 2008-09-26 06:45:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -43,9 +43,9 @@ void cmd_list_commands_exec(unused struct cmd *self, struct cmd_ctx *ctx) { const struct cmd_entry **entryp; - + for (entryp = cmd_table; *entryp != NULL; entryp++) - ctx->print(ctx, "%s %s", (*entryp)->name, (*entryp)->usage); + ctx->print(ctx, "%s %s", (*entryp)->name, (*entryp)->usage); if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |