mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-06 21:19:17 +00:00
fix rss small issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1597 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
40e7848917
commit
68898a6cb4
@ -287,6 +287,7 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
filename = NULL;
|
filename = NULL;
|
||||||
len = idx = 0;
|
len = idx = 0;
|
||||||
*cmd = '\0';
|
*cmd = '\0';
|
||||||
|
title_txt = description_txt = rights_txt = "";
|
||||||
|
|
||||||
if (jumpto > -1) {
|
if (jumpto > -1) {
|
||||||
snprintf(cmd, sizeof(cmd), "%d", jumpto);
|
snprintf(cmd, sizeof(cmd), "%d", jumpto);
|
||||||
@ -408,6 +409,8 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(entries, 0, sizeof(entries));
|
||||||
|
|
||||||
for (i = 0; item; item = item->next) {
|
for (i = 0; item; item = item->next) {
|
||||||
switch_xml_t title, description, subject, dept;
|
switch_xml_t title, description, subject, dept;
|
||||||
char *p;
|
char *p;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user