mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-19 07:14:07 +00:00
fix segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1773 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ee5e2e0994
commit
3837f5d242
@ -603,6 +603,7 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (entries[dtb.index].description_txt) {
|
||||||
status = switch_ivr_speak_text_handle(session,
|
status = switch_ivr_speak_text_handle(session,
|
||||||
&sh,
|
&sh,
|
||||||
&speech_codec,
|
&speech_codec,
|
||||||
@ -611,6 +612,7 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
entries[dtb.index].description_txt,
|
entries[dtb.index].description_txt,
|
||||||
&dtb,
|
&dtb,
|
||||||
sizeof(dtb));
|
sizeof(dtb));
|
||||||
|
}
|
||||||
if (status == SWITCH_STATUS_BREAK) {
|
if (status == SWITCH_STATUS_BREAK) {
|
||||||
continue;
|
continue;
|
||||||
} else if (status != SWITCH_STATUS_SUCCESS) {
|
} else if (status != SWITCH_STATUS_SUCCESS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user