Skip to content
Snippets Groups Projects
Commit fb09d5bc authored by David M. Lee's avatar David M. Lee
Browse files

Apply defaults to ari.conf's general section

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d3939686
Branches
Tags
No related merge requests found
...@@ -187,6 +187,7 @@ static void *conf_alloc(void) ...@@ -187,6 +187,7 @@ static void *conf_alloc(void)
if (!cfg->general) { if (!cfg->general) {
return NULL; return NULL;
} }
aco_set_defaults(&general_option, "general", cfg->general);
cfg->users = ao2_container_alloc_rbtree(AO2_ALLOC_OPT_LOCK_NOLOCK, cfg->users = ao2_container_alloc_rbtree(AO2_ALLOC_OPT_LOCK_NOLOCK,
AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE, user_sort_cmp, NULL); AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE, user_sort_cmp, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment