mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
More persistence fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2024,7 +2024,7 @@ static void reload_agents(void)
|
||||
|
||||
ast_mutex_lock(&agentlock);
|
||||
for (entry = db_tree; entry; entry = entry->next) {
|
||||
agent_num = db_tree->key + strlen(pa_family) + 2;
|
||||
agent_num = entry->key + strlen(pa_family) + 2;
|
||||
cur_agent = agents;
|
||||
while (cur_agent) {
|
||||
ast_mutex_lock(&cur_agent->lock);
|
||||
|
Reference in New Issue
Block a user