Merge "res_pjsip_outbound_registration.c: Add missing line endings to CLI commands" into 13

This commit is contained in:
Matt Jordan
2015-06-24 08:38:52 -05:00
committed by Gerrit Code Review

View File

@@ -1357,7 +1357,7 @@ static char *cli_unregister(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
} }
if (queue_unregister(state)) { if (queue_unregister(state)) {
ast_cli(a->fd, "Failed to queue unregistration"); ast_cli(a->fd, "Failed to queue unregistration\n");
} }
ao2_ref(state, -1); ao2_ref(state, -1);
@@ -1397,9 +1397,9 @@ static char *cli_register(struct ast_cli_entry *e, int cmd, struct ast_cli_args
* to be queued as separate tasks. * to be queued as separate tasks.
*/ */
if (queue_unregister(state)) { if (queue_unregister(state)) {
ast_cli(a->fd, "Failed to queue unregistration"); ast_cli(a->fd, "Failed to queue unregistration\n");
} else if (queue_register(state)) { } else if (queue_register(state)) {
ast_cli(a->fd, "Failed to queue registration"); ast_cli(a->fd, "Failed to queue registration\n");
} }
ao2_ref(state, -1); ao2_ref(state, -1);