Fix: ir: make sure "stream_id" attr is always right
[babeltrace.git] / formats / ctf / ir / trace.c
index 94a332d162e4052ff9530baf63e0952d45a9b3af..5abfcc79c7ef197db758c781e6c4180a28b28776 100644 (file)
@@ -462,8 +462,7 @@ int bt_ctf_trace_add_stream_class(struct bt_ctf_trace *trace,
                        }
                }
 
-               if (_bt_ctf_stream_class_set_id(stream_class,
-                       stream_id)) {
+               if (bt_ctf_stream_class_set_id_no_check(stream_class, stream_id)) {
                        /* TODO Should retry with a different stream id */
                        ret = -1;
                        goto end;
This page took 0.022989 seconds and 4 git commands to generate.