Skip to content
Snippets Groups Projects
Commit 438e410c authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

correct small bug introduced during API conversion

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 773eda05
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment