projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: trigger: erroneous check for success of trigger creation
[lttng-tools.git]
/
src
/
common
/
trigger.c
diff --git
a/src/common/trigger.c
b/src/common/trigger.c
index e69e72e076267be0b7b6290b9032cc11b941caa1..e038fa81a052d71fe3952afaae96c96982a23ae3 100644
(file)
--- a/
src/common/trigger.c
+++ b/
src/common/trigger.c
@@
-264,7
+264,7
@@
error:
lttng_condition_put(condition);
lttng_action_put(action);
end:
lttng_condition_put(condition);
lttng_action_put(action);
end:
- if (ret
=
= 0) {
+ if (ret
>
= 0) {
*_trigger = trigger;
} else {
lttng_trigger_put(trigger);
*_trigger = trigger;
} else {
lttng_trigger_put(trigger);
This page took
0.023782 seconds
and
4
git commands to generate.