[asterisk-commits] tilghman: trunk r149588 - /trunk/apps/app_echo.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 15 10:30:21 CDT 2008


Author: tilghman
Date: Wed Oct 15 10:30:21 2008
New Revision: 149588

URL: http://svn.digium.com/view/asterisk?view=rev&rev=149588
Log:
Minor spacing change
(closes issue #13697)
 Reported by: alecdavis
 Patches: 
       app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)

Modified:
    trunk/apps/app_echo.c

Modified: trunk/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_echo.c?view=diff&rev=149588&r1=149587&r2=149588
==============================================================================
--- trunk/apps/app_echo.c (original)
+++ trunk/apps/app_echo.c Wed Oct 15 10:30:21 2008
@@ -54,8 +54,9 @@
 
 	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)) {




More information about the asterisk-commits mailing list