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:
Jason Parker
2007-05-17 16:52:38 +00:00
parent 9ebfde54a1
commit dfd24c33d2

View File

@@ -5427,7 +5427,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
}
break;
case '4':
if (vms.curmsg) {
if (vms.curmsg > 0) {
vms.curmsg--;
cmd = play_message(chan, vmu, &vms);
} else {