diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-18 22:04:07 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-18 22:04:07 +0000 |
commit | 253322596d3e9cb116d4957c5500dd6143235d6e (patch) | |
tree | 0e2bf6344b172b40a0e38e1ea56edd9101d1649d /res/res_indications.c | |
parent | 0962821aa7ccaaa8b9b500a152ec8d0ea0b8ef65 (diff) |
Fix comment issues (bug #3089)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4479 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_indications.c')
-rwxr-xr-x | res/res_indications.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/res/res_indications.c b/res/res_indications.c index b289612d5..c89426328 100755 --- a/res/res_indications.c +++ b/res/res_indications.c @@ -33,7 +33,7 @@ #include <asterisk/indications.h> -// Globals +/* Globals */ static const char dtext[] = "Indications Configuration"; static const char config[] = "indications.conf"; @@ -41,11 +41,11 @@ static const char config[] = "indications.conf"; * Help for commands provided by this module ... */ static char help_add_indication[] = -"Usage: add indication <country> <indication> \"<tonelist>\"\n" +"Usage: indication add <country> <indication> \"<tonelist>\"\n" " Add the given indication to the country.\n"; static char help_remove_indication[] = -"Usage: remove indication <country> <indication>\n" +"Usage: indication remove <country> <indication>\n" " Remove the given indication from the country.\n"; static char help_show_indications[] = @@ -292,7 +292,7 @@ static int ind_load_module(void) country = strsep(&c,","); } } else { - // add tone to country + /* add tone to country */ struct tone_zone_sound *ps,*ts; for (ps=NULL,ts=tones->tones; ts; ps=ts, ts=ts->next) { if (strcasecmp(v->name,ts->name)==0) { @@ -341,12 +341,12 @@ out: v = v->next; * CLI entries for commands provided by this module */ static struct ast_cli_entry add_indication_cli = - { { "add", "indication", NULL }, handle_add_indication, + { { "indication", "add", NULL }, handle_add_indication, "Add the given indication to the country", help_add_indication, NULL }; static struct ast_cli_entry remove_indication_cli = - { { "remove", "indication", NULL }, handle_remove_indication, + { { "indication", "remove", NULL }, handle_remove_indication, "Remove the given indication from the country", help_remove_indication, NULL }; @@ -367,8 +367,8 @@ int unload_module(void) ast_cli_unregister(&add_indication_cli); ast_cli_unregister(&remove_indication_cli); ast_cli_unregister(&show_indications_cli); - ast_unregister_application("Playlist"); - ast_unregister_application("StopPlaylist"); + ast_unregister_application("Playtones"); + ast_unregister_application("StopPlaytones"); return 0; } |