added patch from #7709
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
e441faab72
commit
159d9d2a3b
1 changed files with 2 additions and 2 deletions
|
@ -4479,12 +4479,12 @@ static int load_module(void *mod)
|
||||||
|
|
||||||
if (max_ports<=0) {
|
if (max_ports<=0) {
|
||||||
ast_log(LOG_ERROR, "Unable to initialize mISDN\n");
|
ast_log(LOG_ERROR, "Unable to initialize mISDN\n");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (misdn_cfg_init(max_ports)) {
|
if (misdn_cfg_init(max_ports)) {
|
||||||
ast_log(LOG_ERROR, "Unable to initialize misdn_config.\n");
|
ast_log(LOG_ERROR, "Unable to initialize misdn_config.\n");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
g_config_initialized=1;
|
g_config_initialized=1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue