generate a message when a module cannot be found and loadable modules are disabled
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 22 Aug 2006 23:55:16 +0000 (23:55 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 22 Aug 2006 23:55:16 +0000 (23:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/loader.c

index a3f7645..4d8e527 100644 (file)
@@ -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
        }