diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2017-05-25 15:23:18 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-05-25 15:23:18 -0500 |
commit | 915acf1e5d6ca69c9d12e873068efffeb42d2e98 (patch) | |
tree | 4c9d108e881617c3dfc16ece078bdefa96d0e820 /res/res_agi.c | |
parent | 24318aac454269aa60c203420936ec1047359ebd (diff) | |
parent | e490aa317662d91209909ca28f0112a2dd40c0c7 (diff) |
Merge "res_agi: Fix malformed AGI usage response"
Diffstat (limited to 'res/res_agi.c')
-rw-r--r-- | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 0bf629004..229ce7277 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -4060,7 +4060,7 @@ static enum agi_result agi_handle_command(struct ast_channel *chan, AGI *agi, ch ast_agi_send(agi->fd, chan, "520 Invalid command syntax. Proper usage not available.\n"); } else { ast_agi_send(agi->fd, chan, "520-Invalid command syntax. Proper usage follows:\n"); - ast_agi_send(agi->fd, chan, "%s", c->usage); + ast_agi_send(agi->fd, chan, "%s\n", c->usage); ast_agi_send(agi->fd, chan, "520 End of proper usage.\n"); } |