projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow ctf-writer to use new time-keeping facilities
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream-class.c
diff --git
a/formats/ctf/ir/stream-class.c
b/formats/ctf/ir/stream-class.c
index d1cac621a8b022681534436e0196f7f151699978..f5b8923360c9d40f6e4a9e76a97fe11a5529b9d9 100644
(file)
--- a/
formats/ctf/ir/stream-class.c
+++ b/
formats/ctf/ir/stream-class.c
@@
-421,7
+421,7
@@
int bt_ctf_stream_class_add_event_class(
/* Only set an event ID if none was explicitly set before */
*event_id = bt_ctf_event_class_get_id(event_class);
- if (event_id < 0) {
+ if (
*
event_id < 0) {
if (bt_ctf_event_class_set_id(event_class,
stream_class->next_event_id++)) {
ret = -1;
This page took
0.023998 seconds
and
4
git commands to generate.