Merge "res_agi: Fix malformed AGI usage response"

pull/7/head
Jenkins2 8 years ago committed by Gerrit Code Review
commit 915acf1e5d

@ -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");
}

Loading…
Cancel
Save