projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Assert that index_file does not exist before setting a new one
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 82d56ebb796910b28b86f417f7ec0f64a08de42b..5c7b00317dabb824f378858bb05234347eec424e 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-2630,6
+2630,7
@@
int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream)
if (!index_file) {
goto error;
}
if (!index_file) {
goto error;
}
+ assert(!stream->index_file);
stream->index_file = index_file;
}
}
stream->index_file = index_file;
}
}
This page took
0.024634 seconds
and
5
git commands to generate.