From 9a28f9cc45376b1b1d7935fec5fc712b534b6afb Mon Sep 17 00:00:00 2001 From: markster Date: Mon, 20 Dec 2004 09:30:09 +0000 Subject: Fix a small typo git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4503 f38db490-d61c-443f-a65b-d21fe96a405b --- say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'say.c') 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); -- cgit v1.2.3