From 30a4094907672aa45545a6743ac924bb97f80b33 Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Mon, 20 Dec 2004 09:30:09 +0000 Subject: [PATCH] Fix a small typo git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4503 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/say.c b/say.c index d8533e953a..eaabe16766 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); -- GitLab