diff options
Diffstat (limited to 'apps/app_softhangup.c')
-rw-r--r-- | apps/app_softhangup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c index f3fc4c18f..f83e19f49 100644 --- a/apps/app_softhangup.c +++ b/apps/app_softhangup.c @@ -21,7 +21,7 @@ * \brief SoftHangup application * * \author Mark Spencer <markster@digium.com> - * + * * \ingroup applications */ @@ -54,9 +54,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </option> </optionlist> </parameter> - </syntax> + </syntax> <description> - <para>Hangs up the requested channel. If there are no channels to + <para>Hangs up the requested channel. If there are no channels to hangup, the application will report it.</para> </description> </application> @@ -85,7 +85,7 @@ static int softhangup_exec(struct ast_channel *chan, const char *data) AST_APP_ARG(options); ); struct ast_channel_iterator *iter; - + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "SoftHangup requires an argument (Technology/resource)\n"); return 0; @@ -106,7 +106,7 @@ static int softhangup_exec(struct ast_channel *chan, const char *data) ast_channel_lock(c); ast_copy_string(name, ast_channel_name(c), sizeof(name)); if (ast_test_flag(&flags, OPTION_ALL)) { - /* CAPI is set up like CAPI[foo/bar]/clcnt */ + /* CAPI is set up like CAPI[foo/bar]/clcnt */ if (!strcmp(ast_channel_tech(c)->type, "CAPI")) { cut = strrchr(name, '/'); /* Basically everything else is Foo/Bar-Z */ |