From 13237f27c96026216cda89f3f1f8f4e1413a621f Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Thu, 17 May 2007 16:54:35 +0000 Subject: [PATCH] Merged revisions 64761 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r64761 | qwell | 2007-05-17 11:53:27 -0500 (Thu, 17 May 2007) | 12 lines Merged revisions 64758 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines 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/trunk@64762 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c3b9610589..b7caa66dab 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6767,7 +6767,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 {