projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Don't increment automatic stream-id twice
[babeltrace.git]
/
formats
/
ctf
/
ir
/
trace.c
diff --git
a/formats/ctf/ir/trace.c
b/formats/ctf/ir/trace.c
index 0cf3f173a254dc8ab3ba16fce3b360d9d5c0cc6c..78c2f28e87b86c83056bd5cbf91efbed5835b621 100644
(file)
--- a/
formats/ctf/ir/trace.c
+++ b/
formats/ctf/ir/trace.c
@@
-437,7
+437,7
@@
int bt_ctf_trace_add_stream_class(struct bt_ctf_trace *trace,
}
if (_bt_ctf_stream_class_set_id(stream_class,
-
trace->next_stream_id++
)) {
+
stream_id
)) {
/* TODO Should retry with a different stream id */
ret = -1;
goto end;
This page took
0.022493 seconds
and
4
git commands to generate.