[svn-commits] tzafrir: trunk r307192 - /trunk/main/loader.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 9 13:17:05 CST 2011


Author: tzafrir
Date: Wed Feb  9 13:17:01 2011
New Revision: 307192

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307192
Log:
clarify warning when no loadable module support

Clarify warning message when LOADABLE_MODULES is disabled but we still
try to load a module.

Modified:
    trunk/main/loader.c

Modified: trunk/main/loader.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/loader.c?view=diff&rev=307192&r1=307191&r2=307192
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Wed Feb  9 13:17:01 2011
@@ -843,7 +843,7 @@
 			}
 		}
 #else
-		ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name);
+		ast_log(LOG_WARNING, "Module support is not available. Module '%s' could not be loaded.\n", resource_name);
 		return required ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_DECLINE;
 #endif
 	}




More information about the svn-commits mailing list