Move bt_handle to bt_trace_descriptor
[babeltrace.git] / formats / ctf / ctf.c
index c3249a01775b9280d99936f7a6970a543fdcff24..ddde54521115c2796bd695e9253b07eb45ce5ac0 100644 (file)
@@ -2093,7 +2093,7 @@ void ctf_set_context(struct bt_trace_descriptor *descriptor,
        struct ctf_trace *td = container_of(descriptor, struct ctf_trace,
                        parent);
 
-       td->ctx = ctx;
+       td->parent.ctx = ctx;
 }
 
 static
@@ -2103,7 +2103,7 @@ void ctf_set_handle(struct bt_trace_descriptor *descriptor,
        struct ctf_trace *td = container_of(descriptor, struct ctf_trace,
                        parent);
 
-       td->handle = handle;
+       td->parent.handle = handle;
 }
 
 static
This page took 0.025111 seconds and 4 git commands to generate.