summaryrefslogtreecommitdiff
path: root/say.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-20 09:30:09 +0000
committerMark Spencer <markster@digium.com>2004-12-20 09:30:09 +0000
commit30a4094907672aa45545a6743ac924bb97f80b33 (patch)
tree21a5a855ee8c744404a27815a72e778552881c12 /say.c
parent82a9214dce4544c06cf61a44a02cc8857f5df86e (diff)
Fix a small typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'say.c')
-rwxr-xr-xsay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/say.c b/say.c
index d8533e953..eaabe1676 100755
--- a/say.c
+++ b/say.c
@@ -615,7 +615,7 @@ static int ast_say_number_full_en(struct ast_channel *chan, int num, const char
}
if (!res) {
if(!ast_streamfile(chan, fn, language)) {
- if (audiofd && ctrlfd)
+ if ((audiofd > -1) && (ctrlfd > -1))
res = ast_waitstream_full(chan, ints, audiofd, ctrlfd);
else
res = ast_waitstream(chan, ints);