[svn-commits] dlee: trunk r394065 - /trunk/res/stasis_http/config.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 11 08:56:28 CDT 2013


Author: dlee
Date: Thu Jul 11 08:56:26 2013
New Revision: 394065

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394065
Log:
Apply defaults to ari.conf's general section

Modified:
    trunk/res/stasis_http/config.c

Modified: trunk/res/stasis_http/config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/stasis_http/config.c?view=diff&rev=394065&r1=394064&r2=394065
==============================================================================
--- trunk/res/stasis_http/config.c (original)
+++ trunk/res/stasis_http/config.c Thu Jul 11 08:56:26 2013
@@ -187,6 +187,7 @@
 	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);




More information about the svn-commits mailing list