[asterisk-commits] russell: branch russell/chan_console r81421 - /team/russell/chan_console/chan...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 31 23:17:55 CDT 2007


Author: russell
Date: Fri Aug 31 23:17:53 2007
New Revision: 81421

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81421
Log:
make the module build with trunk

Modified:
    team/russell/chan_console/channels/chan_console.c

Modified: team/russell/chan_console/channels/chan_console.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_console/channels/chan_console.c?view=diff&rev=81421&r1=81420&r2=81421
==============================================================================
--- team/russell/chan_console/channels/chan_console.c (original)
+++ team/russell/chan_console/channels/chan_console.c Fri Aug 31 23:17:53 2007
@@ -946,6 +946,7 @@
 	struct ast_config *cfg;
 	struct ast_variable *v;
 	struct console_pvt *pvt = &console_pvt;
+	struct ast_flags config_flags = { 0 };
 
 	/* default values */
 	memcpy(&global_jbconf, &default_jbconf, sizeof(global_jbconf));
@@ -958,7 +959,7 @@
 	pvt->overridecontext = 0;
 	pvt->autoanswer = 0;
 
-	if (!(cfg = ast_config_load(config_file))) {
+	if (!(cfg = ast_config_load(config_file, config_flags))) {
 		ast_log(LOG_NOTICE, "Unable to open configuration file %s!\n", config_file);
 		return -1;
 	}




More information about the asterisk-commits mailing list