[Freeswitch-svn] [commit] r8844 - freeswitch/trunk/src/mod/applications/mod_rss

Freeswitch SVN mikej at freeswitch.org
Wed Jun 25 16:17:56 EDT 2008


Author: mikej
Date: Wed Jun 25 16:17:56 2008
New Revision: 8844

Modified:
   freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c

Log:
don't always play the first news feed (MODAPP-108)

Modified: freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_rss/mod_rss.c	Wed Jun 25 16:17:56 2008
@@ -367,7 +367,7 @@
 			x = atoi(cmd) - 1;
 
 			if (x > -1 && x < feed_index) {
-				filename = feed_list[i];
+				filename = feed_list[x];
 			} else if (matches > 1) {
 
 			} else {



More information about the Freeswitch-svn mailing list