diff options
Diffstat (limited to 'apps/app_echo.c')
-rw-r--r-- | apps/app_echo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index 14f7c6d65..b759a510b 100644 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -65,8 +65,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)) { |