aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:00:30 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:00:30 +0000
commite0de2cf9f7a272962738f1ff9ea4bff69a3e99c8 (patch)
tree7d0ead916db4d4437371b0ffd9c9bc1503032d89 /apps/app_speech_utils.c
parentc75cc8c67fee0512dd7e6996a0d55bfe2f57f4f4 (diff)
Merged revisions 71065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines Fix a few silly usages of ast_playstream() - it only ever returns 0... Issue 10035 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71068 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r--apps/app_speech_utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 1b7606617..40b4616e8 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -533,8 +533,7 @@ static int speech_streamfile(struct ast_channel *chan, const char *filename, con
if (ast_applystream(chan, fs))
return -1;
- if (ast_playstream(fs))
- return -1;
+ ast_playstream(fs);
return 0;
}