[asterisk-commits] russell: branch russell/ast_channel_ao2 r183632 - /team/russell/ast_channel_a...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Mar 21 11:59:19 CDT 2009
Author: russell
Date: Sat Mar 21 11:59:16 2009
New Revision: 183632
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183632
Log:
fix invalid error message
Modified:
team/russell/ast_channel_ao2/apps/app_senddtmf.c
Modified: team/russell/ast_channel_ao2/apps/app_senddtmf.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/apps/app_senddtmf.c?view=diff&rev=183632&r1=183631&r2=183632
==============================================================================
--- team/russell/ast_channel_ao2/apps/app_senddtmf.c (original)
+++ team/russell/ast_channel_ao2/apps/app_senddtmf.c Sat Mar 21 11:59:16 2009
@@ -101,9 +101,9 @@
const char *channel = astman_get_header(m, "Channel");
const char *digit = astman_get_header(m, "Digit");
struct ast_channel *chan;
-
+
if (!(chan = ast_channel_get_by_name(channel))) {
- astman_send_error(s, m, "Channel not specified");
+ astman_send_error(s, m, "Channel not found");
return 0;
}
More information about the asterisk-commits
mailing list