Minor spacing change
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 15 Oct 2008 15:30:21 +0000 (15:30 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 15 Oct 2008 15:30:21 +0000 (15:30 +0000)
(closes issue #13697)
 Reported by: alecdavis
 Patches:
       app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)

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

apps/app_echo.c

index 1a8abe9..76c701c 100644 (file)
@@ -54,8 +54,9 @@ static int echo_exec(struct ast_channel *chan, void *data)
 
        while (ast_waitfor(chan, -1) > -1) {
                struct ast_frame *f = ast_read(chan);
-               if (!f)
+               if (!f) {
                        break;
+               }
                f->delivery.tv_sec = 0;
                f->delivery.tv_usec = 0;
                if (ast_write(chan, f)) {