earier patch to hide warning in cepstral does more bad than good so I guess the error is better

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-03-08 00:04:04 +00:00
parent 70db8abf67
commit 9a56887476
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static switch_status_t cepstral_speech_feed_tts(switch_speech_handle_t *sh, char
return SWITCH_STATUS_FALSE;
}
if ((to_say = switch_mprintf(".<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
if ((to_say = switch_mprintf("<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
swift_port_speak_text(cepstral->port, to_say, 0, NULL, &cepstral->tts_stream, NULL);
switch_safe_free(to_say);
}