diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-02 20:45:53 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-02 20:45:53 +0000 |
commit | 46cc653bd1b5d49ccf554e46f07c68ff91fca599 (patch) | |
tree | 9165f5946970f5bcfeef0e1ec048be6f800f88a0 /res/res_agi.c | |
parent | 3a28e37430ed51a520643ab017815ad0258b7bfd (diff) |
Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72939 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r-- | res/res_agi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 13755119f..dad82d454 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1710,6 +1710,9 @@ static char *handle_agi_dump_commanddocs(struct ast_cli_entry *e, int cmd, struc char fullcmd[80]; command = &commands[i]; + if (!command->cmda[0]) + break; + ast_join(fullcmd, sizeof(fullcmd), command->cmda); if (command_name && strcasecmp(fullcmd, command_name)) |