mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 18:13:45 +00:00
Fix breakage of the "module load <module>" CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -815,7 +815,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, enum
|
||||
int ast_load_resource(const char *resource_name)
|
||||
{
|
||||
AST_LIST_LOCK(&module_list);
|
||||
load_resource(resource_name, 0);
|
||||
load_resource(resource_name, LOAD_ALL);
|
||||
AST_LIST_UNLOCK(&module_list);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user