Skip to content
Snippets Groups Projects
Commit 7e2b1c53 authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

localize a variable


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b7467d7d
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,6 @@ static int echo_exec(struct ast_channel *chan, void *data)
int res = -1;
int format;
struct localuser *u;
struct ast_frame *f;
LOCAL_USER_ADD(u);
......@@ -68,7 +67,7 @@ static int echo_exec(struct ast_channel *chan, void *data)
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment