From: Russell Bryant Date: Fri, 22 Sep 2006 15:42:44 +0000 (+0000) Subject: return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured X-Git-Tag: 1.4.0-beta3~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b2dcac484c7a6250cf1772b2afe7dfee9d7f0b1;p=thirdparty%2Fasterisk.git return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured (issue #8006, Mithraen) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43482 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 4ae62e3219..ea3bc07766 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -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)) {