aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-15 21:28:04 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-15 21:28:04 +0000
commit00339022da4de86be460eb0fcf3ebcd70bcd1081 (patch)
treeef38335566ddc0656a7f26ebfe482c4d73f03d9d /apps
parent8c2439db4de2ccdc52094e0374d59102d9d74c09 (diff)
Don't ignore return value
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1342 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_festival.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c
index acc268e36..56976c50c 100755
--- 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 */