mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Bug # 1287: Festival cache string bug fixed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -376,7 +376,8 @@ static int festival_exec(struct ast_channel *chan, void *vdata)
|
||||
if (strlen((char *)data)==strln) {
|
||||
ast_log(LOG_DEBUG,"Size OK\n");
|
||||
read(fdesc,&bigstring,strln);
|
||||
if (strcmp(bigstring,data)==0) {
|
||||
bigstring[strln] = 0;
|
||||
if (strcmp(bigstring,data)==0) {
|
||||
readcache=1;
|
||||
} else {
|
||||
ast_log(LOG_WARNING,"Strings do not match\n");
|
||||
|
Reference in New Issue
Block a user