From 468bc9d6002f10cdf3b26b2fcf43573319979f0e Mon Sep 17 00:00:00 2001 From: Automerge Script Date: Thu, 17 May 2007 17:23:29 +0000 Subject: [PATCH] automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@64807 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 caa81a3fd7..660498f7b5 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 { -- 2.47.2