diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-22 22:18:32 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-22 22:18:32 +0000 |
commit | af458de73b942498575d5fb555f5661175d412e4 (patch) | |
tree | 2b28e14ff449f2a4f163313d29de9f31cf055a0f | |
parent | 28788e0db2361fc4972573b9e9ca8f94b45da95e (diff) |
Fix a minor code issue
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@14276 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_voicemail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 63133a261..488ddba7b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6605,12 +6605,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"); |