*/
struct GNUNET_HELLO_Address *
GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer,
*/
struct GNUNET_HELLO_Address *
GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer,
memcpy (end, address, address_length);
addr->address_length = address_length;
addr->transport_name = &end[address_length];
memcpy (end, address, address_length);
addr->address_length = address_length;
addr->transport_name = &end[address_length];
- return sizeof (struct GNUNET_HELLO_Address) +
- address->address_length +
- strlen(address->transport_name) + 1;
+ return sizeof (struct GNUNET_HELLO_Address) + address->address_length +
+ strlen (address->transport_name) + 1;
- return GNUNET_HELLO_address_allocate (&address->peer,
- address->transport_name,
- address->address,
- address->address_length);
+ return GNUNET_HELLO_address_allocate (&address->peer, address->transport_name,
+ address->address,
+ address->address_length);