diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-02 18:26:18 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-02 18:26:18 +0000 |
commit | 9f3372e3e35ab9844766d7f41528f06842a3f2de (patch) | |
tree | 444677db08d8353e9d3bfe4acf83ad53503b36f5 /apps/app_queue.c | |
parent | 2d765292793639471b70ac5964a49e83657f2d80 (diff) |
add missing if statement in say_position (bug #4435)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 06dcd061b..11bd229dc 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -639,6 +639,7 @@ static int say_position(struct queue_ent *qe) goto posout; } else { res = play_file(qe->chan, qe->parent->sound_thereare); + if (res && valid_exit(qe, res)) goto playout; res = ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language, (char *) NULL); /* Needs gender */ if (res && valid_exit(qe, res)) |