mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Fix breakage of the "module load <module>" CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -828,7 +828,7 @@ int ast_load_resource(const char *resource_name)
|
|||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
AST_LIST_LOCK(&module_list);
|
AST_LIST_LOCK(&module_list);
|
||||||
res = load_resource(resource_name, 0);
|
res = load_resource(resource_name, LOAD_ALL);
|
||||||
AST_LIST_UNLOCK(&module_list);
|
AST_LIST_UNLOCK(&module_list);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
Reference in New Issue
Block a user