action-executor: missing include of internal event-rule header
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.c
index 4f027fdb91b3e3b30ab8859a05fbf319739cefa7..27f0e472305b6a7a3eb5cafbb50fe8057d0392b5 100644 (file)
@@ -22,6 +22,7 @@
 #include <lttng/action/start-session.h>
 #include <lttng/action/stop-session.h>
 #include <lttng/condition/evaluation.h>
+#include <lttng/condition/event-rule-internal.h>
 #include <lttng/lttng-error.h>
 #include <lttng/trigger/trigger-internal.h>
 #include <pthread.h>
@@ -198,7 +199,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.026585 seconds and 4 git commands to generate.