From: David M. Lee Date: Thu, 11 Jul 2013 13:56:26 +0000 (+0000) Subject: Apply defaults to ari.conf's general section X-Git-Tag: 13.0.0-beta1~1511 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb09d5bc60aabd133daca8ac7abc49980c10db8d;p=thirdparty%2Fasterisk.git Apply defaults to ari.conf's general section git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394065 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/stasis_http/config.c b/res/stasis_http/config.c index f02fabea45..09db01e847 100644 --- a/res/stasis_http/config.c +++ b/res/stasis_http/config.c @@ -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);