#include <assert.h>
#include <common/dynamic-array.h>
-#include <common/sessiond-comm/payload.h>
-#include <common/sessiond-comm/payload-view.h>
+#include <common/payload.h>
+#include <common/payload-view.h>
#include <common/error.h>
#include <common/macros.h>
#include <lttng/action/action-internal.h>
enum lttng_action_status status;
int ret;
- if (!group || !IS_GROUP_ACTION(action) || !action) {
+ if (!group || !IS_GROUP_ACTION(group) || !action) {
status = LTTNG_ACTION_STATUS_INVALID;
goto end;
}