Archived
14
0
Fork 0

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:
kpfleming 2008-11-19 13:45:48 +00:00
parent 119d74be4a
commit 253ec3c141

View file

@ -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: