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

anthm at freeswitch.org anthm at freeswitch.org
Thu Jun 8 15:41:14 EDT 2006


Author: anthm
Date: Thu Jun  8 15:41:14 2006
New Revision: 1576

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

Log:
tweak

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	Thu Jun  8 15:41:14 2006
@@ -145,7 +145,8 @@
 	switch_speech_handle_t sh;
     switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_TTS;
 	switch_core_thread_session_t thread_session;
-	uint32_t rate, interval = 20, stream_id = 0;
+	uint32_t rate, interval = 20;
+	int stream_id = 0;
 	switch_timer_t timer = {0}, *timerp = NULL;
 	uint32_t last;
 	char *mydata = NULL;
@@ -155,7 +156,7 @@
 	char *cf = "rss.conf";
     switch_xml_t cfg, cxml, feeds, feed;
 	char buf[1024];
-	uint32_t jumpto = -1;
+	int32_t jumpto = -1;
 
 	if (!(cxml = switch_xml_open_cfg(cf, &cfg, NULL))) {
         switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);



More information about the Freeswitch-svn mailing list