Skip to content
Snippets Groups Projects
Commit 7f97f0a3 authored by Mark Spencer's avatar Mark Spencer
Browse files

More persistence fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent fe64d7ec
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment