From 6262e9ec9fb4cecefd8b393cb94197f35db6d4dc Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Wed, 26 Oct 2005 15:02:23 +0000
Subject: [PATCH] fix misplaced } (issue #5518)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app.c b/app.c
index f4afe8045c..168af68cd4 100755
--- a/app.c
+++ b/app.c
@@ -694,7 +694,6 @@ int ast_play_and_record(struct ast_channel *chan, const char *playfile, const ch
 					ast_frfree(f);
 					break;
 				}
-			}
 				if (f->subclass == '0') {
 				/* Check for a '0' during message recording also, in case caller wants operator */
 					if (option_verbose > 2)
@@ -704,6 +703,7 @@ int ast_play_and_record(struct ast_channel *chan, const char *playfile, const ch
 					ast_frfree(f);
 					break;
 				}
+			}
 			if (maxtime) {
 				time(&end);
 				if (maxtime < (end - start)) {
-- 
GitLab