correct small bug introduced during API conversion

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Kevin P. Fleming 17 years ago
parent 773eda05d0
commit 438e410c4f

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

Loading…
Cancel
Save