Merged revisions 14276 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 22 Mar 2006 22:28:36 +0000 (22:28 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 22 Mar 2006 22:28:36 +0000 (22:28 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14276 | file | 2006-03-22 18:18:32 -0400 (Wed, 22 Mar 2006) | 2 lines

Fix a minor code issue

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 603cd71..c1c6609 100644 (file)
@@ -6718,12 +6718,13 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re
                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");