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
This commit is contained in:
Kevin P. Fleming
2005-06-02 18:26:18 +00:00
parent 2d76529279
commit 9f3372e3e3

View File

@@ -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))