[Asterisk-cvs] asterisk/apps app_festival.c,1.10,1.11
jeremy at lists.digium.com
jeremy at lists.digium.com
Tue Dec 30 04:16:17 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv29057
Modified Files:
app_festival.c
Log Message:
fix the check to usecache. Bug #731
Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- app_festival.c 27 Sep 2003 02:31:07 -0000 1.10
+++ app_festival.c 30 Dec 2003 10:07:55 -0000 1.11
@@ -342,7 +342,7 @@
}
readcache=0;
writecache=0;
- if (strlen(cachedir)+strlen(MD5Hex)+1<=MAXFESTLEN && (usecache==1)) {
+ if (strlen(cachedir)+strlen(MD5Hex)+1<=MAXFESTLEN && (usecache==-1)) {
sprintf(cachefile,"%s/%s",cachedir,MD5Hex);
fdesc=open(cachefile,O_RDWR);
if (fdesc==-1) {
More information about the svn-commits
mailing list