mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
If we have a negative current message, we shouldn't go back even further...
Issue 9727. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@64758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5427,7 +5427,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '4':
|
case '4':
|
||||||
if (vms.curmsg) {
|
if (vms.curmsg > 0) {
|
||||||
vms.curmsg--;
|
vms.curmsg--;
|
||||||
cmd = play_message(chan, vmu, &vms);
|
cmd = play_message(chan, vmu, &vms);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user