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

anthm at freeswitch.org anthm at freeswitch.org
Sat Jun 10 23:11:05 EDT 2006


Author: anthm
Date: Sat Jun 10 23:11:04 2006
New Revision: 1597

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

Log:
fix rss small issue

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	Sat Jun 10 23:11:04 2006
@@ -287,6 +287,7 @@
 		filename = NULL;
 		len = idx = 0;
 		*cmd = '\0';
+		title_txt = description_txt = rights_txt = "";
 
 		if (jumpto > -1) {
 			snprintf(cmd, sizeof(cmd), "%d", jumpto);
@@ -407,6 +408,8 @@
 				item = switch_xml_child(xchannel, "item");
 			}
 		}
+
+		memset(entries, 0, sizeof(entries));
 
 		for (i = 0; item; item = item->next) {
 			switch_xml_t title, description, subject, dept;



More information about the Freeswitch-svn mailing list