Fix changing folders
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
425ab889d6
commit
3f16af5a44
|
@ -1476,7 +1476,7 @@ static int get_folder2(struct ast_channel *chan, char *fn, int start)
|
|||
int res = 0;
|
||||
res = play_and_wait(chan, fn);
|
||||
while (((res < '0') || (res > '9')) &&
|
||||
(res != '#') && (res > 0)) {
|
||||
(res != '#') && (res >= 0)) {
|
||||
res = get_folder(chan, 0);
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Reference in New Issue