From 9f3372e3e35ab9844766d7f41528f06842a3f2de Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 2 Jun 2005 18:26:18 +0000 Subject: 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 --- apps/app_queue.c | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3