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
1.4
Kevin P. Fleming 19 years ago
parent 950b3fb070
commit e0df1dfd7c

@ -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
}

Loading…
Cancel
Save