From: Kevin P. Fleming Date: Tue, 22 Aug 2006 23:55:16 +0000 (+0000) Subject: generate a message when a module cannot be found and loadable modules are disabled X-Git-Tag: 1.4.0-beta1~314 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0df1dfd7cd32106305583cda3a71b7187d08682;p=thirdparty%2Fasterisk.git generate a message when a module cannot be found and loadable modules are disabled git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/loader.c b/main/loader.c index a3f76459a8..4d8e527f39 100644 --- a/main/loader.c +++ b/main/loader.c @@ -591,6 +591,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi } } #else + ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name); return AST_MODULE_LOAD_DECLINE; #endif }