mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
correct small bug introduced during API conversion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user