diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-02-14 23:08:06 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-02-14 23:08:06 +0000 |
commit | f1209276fd1c877e7560dcb9cddbbc71a2f5df45 (patch) | |
tree | d425a23754dcbd13f4d2dcb527fadd5aabe56d99 /config.c | |
parent | ff7a90829d623f89208e2f60402c3a321b8dbe35 (diff) |
Bug 4377 - Initial round of loader changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |