]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix a small typo
authorMark Spencer <markster@digium.com>
Mon, 20 Dec 2004 09:30:09 +0000 (09:30 +0000)
committerMark Spencer <markster@digium.com>
Mon, 20 Dec 2004 09:30:09 +0000 (09:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

say.c

diff --git a/say.c b/say.c
index d8533e953a3e0be4ceb55257ff269798fd43559f..eaabe167667d53f4004f283e06e03c5c1e5870e2 100755 (executable)
--- 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);