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

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


: <asterisk at leapscape.com>
X-pstn-levels:     (S:99.90000/99.90000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
X-pstn-settings: 3 (1.0000:1.0000) s fc lc gt3 gt2 gt1 r p m c 
X-pstn-addresses: from <svn-commits at lists.digium.com> [db-null] 

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 {

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits


More information about the asterisk-commits mailing list