mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Fix changing folders
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user