aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-22 22:28:36 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-22 22:28:36 +0000
commit2082e1e4ef229f7bdb64d4e65ab9d92082466257 (patch)
treee7639fefce2143f9cab8040f460b2222b58c6663 /apps
parent1536cfb7a1352ff871e80a3a66503384db3038a0 (diff)
Merged revisions 14276 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@14279 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 603cd71a4..c1c660975 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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");