mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
Add UUID support to Asterisk.
This provides a common API for dealing with unique identifiers. The API provides methods to create, parse, copy, and stringify UUIDs. An accompanying unit test is provided that tests all operations. (closes issue ASTERISK-20726) reported by Matt Jordan Review: https://reviewboard.asterisk.org/r/2217 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -218,10 +218,7 @@ static void load_config(int reload)
|
||||
alias->cli_entry.command = alias->alias;
|
||||
alias->cli_entry.usage = "Aliased CLI Command\n";
|
||||
|
||||
if (ast_cli_register(&alias->cli_entry)) {
|
||||
ao2_ref(alias, -1);
|
||||
continue;
|
||||
}
|
||||
ast_cli_register(&alias->cli_entry);
|
||||
ao2_link(cli_aliases, alias);
|
||||
ast_verb(2, "Aliased CLI command '%s' to '%s'\n", v1->name, v1->value);
|
||||
ao2_ref(alias, -1);
|
||||
|
Reference in New Issue
Block a user