[asterisk-commits] russell: branch russell/sla_updates r56229 - /team/russell/sla_updates/apps/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 22 11:18:57 MST 2007


Author: russell
Date: Thu Feb 22 12:18:56 2007
New Revision: 56229

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56229
Log:
Add the trunks and stations to the tail of the global lists so that they are
printed out in the order they are specified in the config file

Modified:
    team/russell/sla_updates/apps/app_meetme.c

Modified: team/russell/sla_updates/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/russell/sla_updates/apps/app_meetme.c?view=diff&rev=56229&r1=56228&r2=56229
==============================================================================
--- team/russell/sla_updates/apps/app_meetme.c (original)
+++ team/russell/sla_updates/apps/app_meetme.c Thu Feb 22 12:18:56 2007
@@ -4060,7 +4060,7 @@
 	}
 
 	AST_RWLIST_WRLOCK(&sla_trunks);
-	AST_RWLIST_INSERT_HEAD(&sla_trunks, trunk, entry);
+	AST_RWLIST_INSERT_TAIL(&sla_trunks, trunk, entry);
 	AST_RWLIST_UNLOCK(&sla_trunks);
 
 	return 0;
@@ -4203,7 +4203,7 @@
 	}
 
 	AST_RWLIST_WRLOCK(&sla_stations);
-	AST_RWLIST_INSERT_HEAD(&sla_stations, station, entry);
+	AST_RWLIST_INSERT_TAIL(&sla_stations, station, entry);
 	AST_RWLIST_UNLOCK(&sla_stations);
 
 	return 0;



More information about the asterisk-commits mailing list