Fix changing folders

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-05-10 18:47:57 +00:00
parent 425ab889d6
commit 3f16af5a44
1 changed files with 1 additions and 1 deletions

View File

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