diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 16:52:38 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-17 16:52:38 +0000 |
commit | 775fda427ae473178678e2f9cc3deb79ea9e6800 (patch) | |
tree | 3e53d8a9ecd8228ec78063f5a58f0902f3cbe83c | |
parent | 55ce8c7c5be34acd360160090ed4a64548259260 (diff) |
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.2@64758 f38db490-d61c-443f-a65b-d21fe96a405b
-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 caa81a3fd..660498f7b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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 { |