projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test: utils.sh: use getconf to start either 32 or 64 consumerd
[lttng-tools.git]
/
src
/
common
/
condition.c
diff --git
a/src/common/condition.c
b/src/common/condition.c
index ceab81eabbd81a6928a9b6122a6fdb117940a4b8..98c97a595016c772c54aead040809005f6838be2 100644
(file)
--- a/
src/common/condition.c
+++ b/
src/common/condition.c
@@
-67,7
+67,8
@@
ssize_t lttng_condition_serialize(const struct lttng_condition *condition,
{
ssize_t ret, condition_size;
struct lttng_condition_comm condition_comm = {
- .condition_type = (int8_t) condition->type
+ .condition_type = (int8_t) (condition ?
+ condition->type : LTTNG_CONDITION_TYPE_UNKNOWN)
};
if (!condition) {
This page took
0.02558 seconds
and
5
git commands to generate.