diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-19 13:45:48 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-19 13:45:48 +0000 |
commit | 253ec3c1414b1f23c696a4f1b2b7529d0693f829 (patch) | |
tree | 994a54d27c79453e1eafa2262f6c15fa9897a327 /res/res_agi.c | |
parent | 119d74be4abcaca0f3720c0a766cb512d73bfc0f (diff) |
correct small bug introduced during API conversion
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157743 f38db490-d61c-443f-a65b-d21fe96a405b
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: |