- GNUNET_CORE_notify_transmit_ready (core_handle, 0, 0,
- GNUNET_TIME_UNIT_FOREVER_REL,
- path_get_first_hop(t->tree,
- path_info->peer->id),
- sizeof (struct GNUNET_MessageHeader),
- &send_core_create_path, path_info);
+ GNUNET_CORE_notify_transmit_ready (
+ core_handle,
+ 0,
+ 0,
+ GNUNET_TIME_UNIT_FOREVER_REL,
+ path_get_first_hop(t->tree, path_info->peer->id),
+ sizeof (struct GNUNET_MESH_ManipulatePath)
+ + path_info->path->length * sizeof(struct GNUNET_PeerIdentity),
+ &send_core_create_path,
+ path_info);