[Asterisk-cvs] asterisk/channels chan_agent.c,1.122,1.123

markster at lists.digium.com markster at lists.digium.com
Fri Mar 4 20:57:44 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv23032/channels

Modified Files:
	chan_agent.c 
Log Message:
More persistence fixes


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- chan_agent.c	5 Mar 2005 02:53:27 -0000	1.122
+++ chan_agent.c	5 Mar 2005 02:54:49 -0000	1.123
@@ -2024,7 +2024,7 @@
 
 	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);




More information about the svn-commits mailing list