diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-19 13:45:48 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-19 13:45:48 +0000 |
commit | 438e410c4fe1f99f9df50ef25a58a584d9146a47 (patch) | |
tree | 994a54d27c79453e1eafa2262f6c15fa9897a327 /res/res_agi.c | |
parent | 773eda05d0585f13ff2bfd3d41105acffb036000 (diff) |
correct small bug introduced during API conversion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_agi.c')
-rw-r--r-- | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index c3683b0d5..414971613 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -2731,7 +2731,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: |