action-executor: evaluated object credentials are optional
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.c
index 4f027fdb91b3e3b30ab8859a05fbf319739cefa7..5459c4b5e4876ef75f45f65e6c6c7344eef020e6 100644 (file)
@@ -198,7 +198,9 @@ static int action_executor_notify_handler(struct action_executor *executor,
                        lttng_trigger_get_const_condition(work_item->trigger),
                        work_item->evaluation,
                        lttng_trigger_get_credentials(work_item->trigger),
-                       LTTNG_OPTIONAL_GET_PTR(work_item->object_creds),
+                       work_item->object_creds.is_set ?
+                                       &(work_item->object_creds.value) :
+                                       NULL,
                        client_handle_transmission_status, executor);
 }
 
This page took 0.029814 seconds and 4 git commands to generate.