[svn-commits] russell: branch 1.4 r43482 - /branches/1.4/channels/chan_misdn.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Sep 22 08:42:44 MST 2006


Author: russell
Date: Fri Sep 22 10:42:44 2006
New Revision: 43482

URL: http://svn.digium.com/view/asterisk?rev=43482&view=rev
Log:
return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
(issue #8006, Mithraen)

Modified:
    branches/1.4/channels/chan_misdn.c

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?rev=43482&r1=43481&r2=43482&view=diff
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Sep 22 10:42:44 2006
@@ -4496,7 +4496,7 @@
 	
 	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)) {



More information about the svn-commits mailing list