diff options
Diffstat (limited to 'main/say.c')
-rw-r--r-- | main/say.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/say.c b/main/say.c index 9ed4817ff..9f77d3466 100644 --- a/main/say.c +++ b/main/say.c @@ -260,9 +260,9 @@ static int say_digit_str_full(struct ast_channel *chan, const char *str, const c res = ast_streamfile(chan, fn, lang); if (!res) { if ((audiofd > -1) && (ctrlfd > -1)) - res = ast_waitstream_full(chan, ints, audiofd, ctrlfd); - else - res = ast_waitstream(chan, ints); + res = ast_waitstream_full(chan, ints, audiofd, ctrlfd); + else + res = ast_waitstream(chan, ints); } ast_stopstream(chan); } |