]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Apply defaults to ari.conf's general section
authorDavid M. Lee <dlee@digium.com>
Thu, 11 Jul 2013 13:56:26 +0000 (13:56 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 11 Jul 2013 13:56:26 +0000 (13:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/stasis_http/config.c

index f02fabea450c1233d4e84a7589676becea533db9..09db01e8474959b90571c950ed12cf41d8e5aae8 100644 (file)
@@ -187,6 +187,7 @@ static void *conf_alloc(void)
        if (!cfg->general) {
                return NULL;
        }
+       aco_set_defaults(&general_option, "general", cfg->general);
 
        cfg->users = ao2_container_alloc_rbtree(AO2_ALLOC_OPT_LOCK_NOLOCK,
                AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE, user_sort_cmp, NULL);