[asterisk-commits] branch 1.2 r14276 - /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Mar 22 15:18:33 MST 2006


Author: file
Date: Wed Mar 22 16:18:32 2006
New Revision: 14276

URL: http://svn.digium.com/view/asterisk?rev=14276&view=rev
Log:
Fix a minor code issue

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?rev=14276&r1=14275&r2=14276&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Wed Mar 22 16:18:32 2006
@@ -6605,12 +6605,13 @@
  		case '3':
  			message_exists = 0;
  			/* Record */
- 			if (recorded == 1)
+ 			if (recorded == 1) {
 				if (option_verbose > 2)
 					ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n");
- 			else	
+ 			} else {	
 				if (option_verbose > 2)
 					ast_verbose(VERBOSE_PREFIX_3 "Recording the message\n");
+			}
 			if (recorded && outsidecaller) {
  				cmd = ast_play_and_wait(chan, INTRO);
  				cmd = ast_play_and_wait(chan, "beep");



More information about the asterisk-commits mailing list