From 1298f6585d817777bba0452cdbeb66c91279b4fe Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 21 Dec 2004 20:42:58 +0000 Subject: [PATCH] fix typo in ast_say_number_full_en (bug #3101) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4516 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/say.c b/say.c index f2b6acc102..dbed5b2c26 100755 --- a/say.c +++ b/say.c @@ -579,7 +579,7 @@ static int ast_say_number_full_en(struct ast_channel *chan, int num, char *ints, } 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); -- 2.47.2