diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 16:53:27 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 16:53:27 +0000 |
commit | e39b8da276b8191ee9f90aa324d2de43ccd73a2f (patch) | |
tree | 7a277e9d14f450ea7c8b23873b56833d5a844e75 /apps/app_voicemail.c | |
parent | 8fb263f259207e4dc35f4d22cedf79db50071230 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@64761 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-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 b6c538aab..67aef04d7 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6563,7 +6563,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 { |