Merged revisions 43482 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 15:45:51 +0000 (15:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 15:45:51 +0000 (15:45 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43482 | russell | 2006-09-22 11:42:44 -0400 (Fri, 22 Sep 2006) | 3 lines

return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
(issue #8006, Mithraen)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 4ae62e3..ea3bc07 100644 (file)
@@ -4496,7 +4496,7 @@ static int load_module(void)
        
        if (max_ports<=0) {
                ast_log(LOG_ERROR, "Unable to initialize mISDN\n");
-               return 0;
+               return AST_MODULE_LOAD_DECLINE;
        }
        
        if (misdn_cfg_init(max_ports)) {