aboutsummaryrefslogtreecommitdiffstats
path: root/say.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 09:30:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 09:30:09 +0000
commit9a28f9cc45376b1b1d7935fec5fc712b534b6afb (patch)
tree21a5a855ee8c744404a27815a72e778552881c12 /say.c
parent8de7d19f12579117dbad2e42736fbc01a2477481 (diff)
Fix a small typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4503 f38db490-d61c-443f-a65b-d21fe96a405b
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);