[asterisk-commits] trunk r16562 - /trunk/apps/app_echo.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Mar 30 14:49:26 MST 2006
Author: rizzo
Date: Thu Mar 30 15:49:24 2006
New Revision: 16562
URL: http://svn.digium.com/view/asterisk?rev=16562&view=rev
Log:
localize a variable
Modified:
trunk/apps/app_echo.c
Modified: trunk/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_echo.c?rev=16562&r1=16561&r2=16562&view=diff
==============================================================================
--- trunk/apps/app_echo.c (original)
+++ trunk/apps/app_echo.c Thu Mar 30 15:49:24 2006
@@ -59,7 +59,6 @@
int res = -1;
int format;
struct localuser *u;
- struct ast_frame *f;
LOCAL_USER_ADD(u);
@@ -68,7 +67,7 @@
ast_set_read_format(chan, format);
while (ast_waitfor(chan, -1) > -1) {
- f = ast_read(chan);
+ struct ast_frame *f = ast_read(chan);
if (!f)
break;
f->delivery.tv_sec = 0;
More information about the asterisk-commits
mailing list