Merged revisions 157743 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r157743 | kpfleming | 2008-11-19 07:45:48 -0600 (Wed, 19 Nov 2008) | 1 line
  
  correct small bug introduced during API conversion
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Kevin P. Fleming 17 years ago
parent ac0c9bbc4d
commit a13f64ef20

@ -2602,7 +2602,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:

Loading…
Cancel
Save