[asterisk-commits] qwell: branch 1.4 r112068 - /branches/1.4/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 31 16:48:05 CDT 2008
Author: qwell
Date: Mon Mar 31 16:48:05 2008
New Revision: 112068
URL: http://svn.digium.com/view/asterisk?view=rev&rev=112068
Log:
Fix a silly infinite loop when choosing an invalid option.
(closes issue #12315)
Reported by: jmls
Modified:
branches/1.4/apps/app_voicemail.c
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=112068&r1=112067&r2=112068
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Mon Mar 31 16:48:05 2008
@@ -6130,6 +6130,7 @@
cmd = 't';
break;
default:
+ cmd = 0;
snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username);
if (ast_fileexists(prefile, NULL, NULL))
cmd = ast_play_and_wait(chan, "vm-tmpexists");
More information about the asterisk-commits
mailing list