Skip to content
Snippets Groups Projects
Commit e0df1dfd authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

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
parent 950b3fb0
Branches
Tags
No related merge requests found
...@@ -591,6 +591,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi ...@@ -591,6 +591,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
} }
} }
#else #else
ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name);
return AST_MODULE_LOAD_DECLINE; return AST_MODULE_LOAD_DECLINE;
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment