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
1.2
Jason Parker 19 years ago
parent 9ebfde54a1
commit dfd24c33d2

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

Loading…
Cancel
Save