It helps to use the local copy yo ucreated
authorMark Spencer <markster@digium.com>
Fri, 19 Mar 2004 20:36:21 +0000 (20:36 +0000)
committerMark Spencer <markster@digium.com>
Fri, 19 Mar 2004 20:36:21 +0000 (20:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

translate.c

index 4ed3fec..e2e6324 100755 (executable)
@@ -148,8 +148,8 @@ struct ast_frame *ast_translate(struct ast_trans_pvt *path, struct ast_frame *f,
                if (p->next) 
                        p->next->step->framein(p->next->state, out);
                else {
-                       out->delivery.tv_sec = f->delivery.tv_sec;
-                       out->delivery.tv_usec = f->delivery.tv_usec;
+                       out->delivery.tv_sec = delivery.tv_sec;
+                       out->delivery.tv_usec = delivery.tv_usec;
                        return out;
                }
                p = p->next;