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
|
@ -4479,12 +4479,12 @@ static int load_module(void *mod)
|
|||
|
||||
if (max_ports<=0) {
|
||||
ast_log(LOG_ERROR, "Unable to initialize mISDN\n");
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (misdn_cfg_init(max_ports)) {
|
||||
ast_log(LOG_ERROR, "Unable to initialize misdn_config.\n");
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
g_config_initialized=1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue