[asterisk-commits] russell: branch russell/ais r80926 - /team/russell/ais/res/res_ais.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Aug 25 23:43:04 CDT 2007


Author: russell
Date: Sat Aug 25 23:43:03 2007
New Revision: 80926

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80926
Log:
update module for ast_config_load API change

Modified:
    team/russell/ais/res/res_ais.c

Modified: team/russell/ais/res/res_ais.c
URL: http://svn.digium.com/view/asterisk/team/russell/ais/res/res_ais.c?view=diff&rev=80926&r1=80925&r2=80926
==============================================================================
--- team/russell/ais/res/res_ais.c (original)
+++ team/russell/ais/res/res_ais.c Sat Aug 25 23:43:03 2007
@@ -636,8 +636,9 @@
 	static const char filename[] = "ais.conf";
 	struct ast_config *cfg;
 	const char *cat = NULL;
-
-	if (!(cfg = ast_config_load(filename)))
+	struct ast_flags config_flags = { 0 };
+
+	if (!(cfg = ast_config_load(filename, config_flags)))
 		return;
 
 	while ((cat = ast_category_browse(cfg, cat))) {




More information about the asterisk-commits mailing list