mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
Merge "res_pjsip_outbound_registration.c: Add missing line endings to CLI commands" into 13
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user