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;
|
||||
len = idx = 0;
|
||||
*cmd = '\0';
|
||||
title_txt = description_txt = rights_txt = "";
|
||||
|
||||
if (jumpto > -1) {
|
||||
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) {
|
||||
switch_xml_t title, description, subject, dept;
|
||||
char *p;
|
||||
|
|
Loading…
Reference in New Issue