diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-08-22 23:55:16 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-08-22 23:55:16 +0000 |
commit | e0df1dfd7cd32106305583cda3a71b7187d08682 (patch) | |
tree | e18d7ec6df886ded1e56741448d73d2a4650f449 /main/loader.c | |
parent | 950b3fb070fcf0cfae3b073f257ac3235900b067 (diff) |
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
Diffstat (limited to 'main/loader.c')
-rw-r--r-- | main/loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/loader.c b/main/loader.c index a3f76459a..4d8e527f3 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 } |