Fix a minor code issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Joshua Colp 20 years ago
parent 3667b25224
commit b0f4874196

@ -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");

Loading…
Cancel
Save