projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: relayd: failure to read index entry or stream packet after clear
[lttng-tools.git]
/
src
/
common
/
trace-chunk.c
diff --git
a/src/common/trace-chunk.c
b/src/common/trace-chunk.c
index 75d1738d9ee2f4c38e0137f9e6779b4ec350943d..b303607e348d8501133fe41a6b9b53683c35fc0f 100644
(file)
--- a/
src/common/trace-chunk.c
+++ b/
src/common/trace-chunk.c
@@
-1834,7
+1834,12
@@
bool lttng_trace_chunk_ids_equal(const struct lttng_trace_chunk *chunk_a,
{
bool equal = false;
- if (!chunk_a || !chunk_b) {
+ if (chunk_a == chunk_b) {
+ equal = true;
+ goto end;
+ }
+
+ if (!!chunk_a ^ !!chunk_b) {
goto end;
}
This page took
0.024205 seconds
and
4
git commands to generate.