aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-15 15:31:03 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-15 15:31:03 +0000
commitf4c69259f500bc85b67c5f1216feb235d225933e (patch)
treed6999346e5d3bba5449c31b31a0a82add575069c
parent7e020c78870bca0a455db67950a88e0d11585cd6 (diff)
Merged revisions 149588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r149588 | tilghman | 2008-10-15 10:30:21 -0500 (Wed, 15 Oct 2008) | 6 lines Minor spacing change (closes issue #13697) Reported by: alecdavis Patches: app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@149589 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_echo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c
index 1a8abe9f0..76c701cd7 100644
--- a/apps/app_echo.c
+++ b/apps/app_echo.c
@@ -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)) {