[asterisk-commits] mmichelson: trunk r101224 - /trunk/apps/app_rtppage.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 30 09:42:54 CST 2008


Author: mmichelson
Date: Wed Jan 30 09:42:54 2008
New Revision: 101224

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101224
Log:
Get trunk to compile


Modified:
    trunk/apps/app_rtppage.c

Modified: trunk/apps/app_rtppage.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_rtppage.c?view=diff&rev=101224&r1=101223&r2=101224
==============================================================================
--- trunk/apps/app_rtppage.c (original)
+++ trunk/apps/app_rtppage.c Wed Jan 30 09:42:54 2008
@@ -137,13 +137,6 @@
 	uint16_t rtpflags = 0;
 	int ttl = 0;
 	int pagetype = 0;
-	AST_LIST_HEAD(, mcast_group) activegroups;
-
-	/* init active groups */
-	activegroups.first = NULL;
-	activegroups.last = NULL;
-	activegroups.lock = AST_MUTEX_INIT_VALUE;
-
 	/* you can specify three arguments:
 	 * 1) pagetype (0 = direct, 1 = multicast)
 	 * 2) groups, e.g. NameOfGroup or Name1&Name2 etc) / or ip:port in case of direct
@@ -155,6 +148,9 @@
 		AST_APP_ARG(groups);
 		AST_APP_ARG(codec);
 	);
+	AST_LIST_HEAD(, mcast_group) activegroups;
+
+	AST_LIST_HEAD_INIT(&activegroups);
 
 	/* make sure there is at least one parameter */
 	if (ast_strlen_zero(data)) {




More information about the asterisk-commits mailing list