diff options
author | Jason Parker <jparker@digium.com> | 2007-05-17 16:54:35 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-05-17 16:54:35 +0000 |
commit | 13237f27c96026216cda89f3f1f8f4e1413a621f (patch) | |
tree | ceb25959604e0be7f379edcb1d76b4e5fb884245 | |
parent | 67f43ccce8ee78ae58cceccfb6e23a03e63400d6 (diff) |
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
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c3b961058..b7caa66da 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 { |