correct small bug introduced during API conversion
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157743 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
119d74be4a
commit
253ec3c141
1 changed files with 1 additions and 1 deletions
|
@ -2731,7 +2731,7 @@ static int agi_handle_command(struct ast_channel *chan, AGI *agi, char *buf, int
|
||||||
switch(res) {
|
switch(res) {
|
||||||
case RESULT_SHOWUSAGE:
|
case RESULT_SHOWUSAGE:
|
||||||
ast_agi_send(agi->fd, chan, "520-Invalid command syntax. Proper usage follows:\n");
|
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");
|
ast_agi_send(agi->fd, chan, "520 End of proper usage.\n");
|
||||||
break;
|
break;
|
||||||
case AST_PBX_KEEPALIVE:
|
case AST_PBX_KEEPALIVE:
|
||||||
|
|
Reference in a new issue