[svn-commits] qwell: branch 1.2 r64758 - /branches/1.2/apps/app_voicemail.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu May 17 09:52:38 MST 2007


Author: qwell
Date: Thu May 17 11:52:38 2007
New Revision: 64758

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64758
Log:
If we have a negative current message, we shouldn't go back even further...

Issue 9727.

Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?view=diff&rev=64758&r1=64757&r2=64758
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Thu May 17 11:52:38 2007
@@ -5427,7 +5427,7 @@
 			}
 			break;
 		case '4':
-			if (vms.curmsg) {
+			if (vms.curmsg > 0) {
 				vms.curmsg--;
 				cmd = play_message(chan, vmu, &vms);
 			} else {



More information about the svn-commits mailing list