diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-21 20:42:58 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-21 20:42:58 +0000 |
commit | fa4da02ddc353c456f86f865a354efcfb0001e04 (patch) | |
tree | 111e3fb2aa7305714d98d5b7d202f9e47d4ff578 | |
parent | 421359fcfb84f668723b5f43d90c4798a310d247 (diff) |
fix typo in ast_say_number_full_en (bug #3101)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4516 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | say.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |