diff options
author | Mark Spencer <markster@digium.com> | 2003-08-15 21:28:04 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-08-15 21:28:04 +0000 |
commit | 738fe3d5295c16136ab21d06f72df075d434f333 (patch) | |
tree | ef38335566ddc0656a7f26ebfe482c4d73f03d9d /apps/app_festival.c | |
parent | 3e211c91a209fd87357e441b33d5e71132010cb3 (diff) |
Don't ignore return value
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_festival.c')
-rwxr-xr-x | apps/app_festival.c | 3 |
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 */ |