From fe9dc550ffa00590b7f491e67370d055d5e69a59 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Wed, 19 Nov 2008 13:47:21 +0000 Subject: Merged revisions 157743 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r157743 | kpfleming | 2008-11-19 07:45:48 -0600 (Wed, 19 Nov 2008) | 1 line correct small bug introduced during API conversion ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@157744 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_agi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res') diff --git a/res/res_agi.c b/res/res_agi.c index 844053e60..3ff9ddbb2 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -2590,7 +2590,7 @@ static int agi_handle_command(struct ast_channel *chan, AGI *agi, char *buf, int switch(res) { case RESULT_SHOWUSAGE: ast_agi_send(agi->fd, chan, "520-Invalid command syntax. Proper usage follows:\n"); - ast_agi_send(agi->fd, NULL, "%s", c->usage); + ast_agi_send(agi->fd, chan, "%s", c->usage); ast_agi_send(agi->fd, chan, "520 End of proper usage.\n"); break; case AST_PBX_KEEPALIVE: -- cgit v1.2.3