diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2017-05-26 08:00:49 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-05-26 08:00:49 -0500 |
commit | 5715360ba5606747f244421d63edb1cf06672381 (patch) | |
tree | 6c64b261ffa3e429de4ff1535e13fdcd3138b70f | |
parent | a8f8c5d857a41e43b5ea0d8c9dd671336710ec05 (diff) | |
parent | a007e438c36960d4179e2f188767e7ae14a204d1 (diff) |
Merge "res_agi: Fix malformed AGI usage response" into 13
-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 e94c23cf7..e63ad992c 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -4066,7 +4066,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"); } |