Clean-up: sessiond: make some accesses to conditions const
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index 507937ca1259415915a0aa71849ea4645fcfa0ec..e8fd3110e21c2cacb8fe8bd07c2cac5c26f6a9ee 100644 (file)
@@ -4300,7 +4300,8 @@ enum lttng_error_code synchronize_tracer_notifier_register(
                struct lttng_trigger *trigger, const struct lttng_credentials *cmd_creds)
 {
        enum lttng_error_code ret_code;
-       struct lttng_condition *condition = lttng_trigger_get_condition(trigger);
+       const struct lttng_condition *condition =
+                       lttng_trigger_get_const_condition(trigger);
        const char *trigger_name;
        uid_t trigger_owner;
        enum lttng_trigger_status trigger_status;
This page took 0.025259 seconds and 4 git commands to generate.