return;
if (NULL == mst->tmit_handle)
{
- mst->tmit_handle = (void *) &mst->tmit_handle;
- struct GNUNET_MULTICAST_OriginTransmitHandle *
- tmit_handle = GNUNET_MULTICAST_origin_to_all (mst->origin, tmit_msg->id,
- mst->max_group_generation,
- master_transmit_notify, mst);
- if (NULL != mst->tmit_handle)
- mst->tmit_handle = tmit_handle;
+ mst->tmit_handle = GNUNET_MULTICAST_origin_to_all (mst->origin,
+ tmit_msg->id,
+ mst->max_group_generation,
+ &master_transmit_notify,
+ mst);
}
else
{
return;
if (NULL == slv->tmit_handle)
{
- slv->tmit_handle = (void *) &slv->tmit_handle;
- struct GNUNET_MULTICAST_MemberTransmitHandle *
- tmit_handle = GNUNET_MULTICAST_member_to_origin (slv->member, slv->channel.tmit_head->id,
- slave_transmit_notify, slv);
- if (NULL != slv->tmit_handle)
- slv->tmit_handle = tmit_handle;
+ slv->tmit_handle = GNUNET_MULTICAST_member_to_origin (slv->member,
+ slv->channel.tmit_head->id,
+ &slave_transmit_notify,
+ slv);
}
else
{