From: Automerge Script Date: Thu, 17 May 2007 17:23:29 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.19-netsec~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=468bc9d6002f10cdf3b26b2fcf43573319979f0e;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@64807 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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 {