struct l_dbus_message *msg;
struct mesh_agent *agent;
char *sender;
- const char *app_path;
struct mesh_node *node;
uint32_t disc_watch;
uint8_t *uuid;
return false;
owner = join_pending->sender;
- path = join_pending->app_path;
+ path = node_get_app_path(join_pending->node);
if (status == PROV_ERR_SUCCESS &&
!node_add_pending_local(join_pending->node, info))
join_pending->sender = l_strdup(sender);
join_pending->msg = l_dbus_message_ref(msg);
- join_pending->app_path = app_path;
/* Try to create a temporary node */
node_join(app_path, sender, join_pending->uuid, node_init_cb);