mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Bug 4377 - Initial round of loader changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
config.c
5
config.c
@@ -781,7 +781,7 @@ static int append_mapping(char *name, char *driver, char *database, char *table)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void read_config_maps(void)
|
||||
int read_config_maps(void)
|
||||
{
|
||||
struct ast_config *config, *configtmp;
|
||||
struct ast_variable *v;
|
||||
@@ -794,7 +794,7 @@ void read_config_maps(void)
|
||||
config = ast_config_internal_load(extconfig_conf, configtmp);
|
||||
if (!config) {
|
||||
ast_config_destroy(configtmp);
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (v = ast_variable_browse(config, "settings"); v; v = v->next) {
|
||||
@@ -843,6 +843,7 @@ void read_config_maps(void)
|
||||
}
|
||||
|
||||
ast_config_destroy(config);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ast_config_engine_register(struct ast_config_engine *new)
|
||||
|
Reference in New Issue
Block a user