projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e211c9
)
Don't ignore return value
author
Mark Spencer
<markster@digium.com>
Fri, 15 Aug 2003 21:28:04 +0000
(21:28 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 15 Aug 2003 21:28:04 +0000
(21:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1342
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_festival.c
patch
|
blob
|
history
diff --git
a/apps/app_festival.c
b/apps/app_festival.c
index
acc268e
..
56976c5
100755
(executable)
--- a/
apps/app_festival.c
+++ b/
apps/app_festival.c
@@
-409,9
+409,8
@@
static int festival_exec(struct ast_channel *chan, void *vdata)
if (strcmp(ack,"WV\n") == 0) { /* receive a waveform */
ast_log(LOG_WARNING,"Festival WV command");
waveform = socket_receive_file_to_buff(fd,&filesize);
- send_waveform_to_channel(chan,waveform,filesize, intstr);
+ res = send_waveform_to_channel(chan,waveform,filesize, intstr);
free(waveform);
- res=0;
break;
}
else if (strcmp(ack,"LP\n") == 0) { /* receive an s-expr */