added patch from #7709
authorChristian Richter <christian.richter@beronet.com>
Wed, 16 Aug 2006 19:13:47 +0000 (19:13 +0000)
committerChristian Richter <christian.richter@beronet.com>
Wed, 16 Aug 2006 19:13:47 +0000 (19:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 8a6241f..4b706a0 100644 (file)
@@ -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;