diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-13 20:02:25 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-13 20:02:25 +0000 |
commit | 99f57129eb1e3654d3f5e3f9a5491a2eb1276686 (patch) | |
tree | b1a101ec1ef7691d03336b404f2456231da52059 /src/hello | |
parent | a37183bb1f137d8a0457fc9c2428219e337cd6a7 (diff) |
- attempt 2
Diffstat (limited to 'src/hello')
-rw-r--r-- | src/hello/address.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hello/address.c b/src/hello/address.c index ae839155c9..736e85eedd 100644 --- a/src/hello/address.c +++ b/src/hello/address.c @@ -54,7 +54,8 @@ GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address * address) struct GNUNET_HELLO_Address * GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer, const char *transport_name, const void *address, - size_t address_length) + size_t address_length, + enum GNUNET_HELLO_AddressInfo local_info) { struct GNUNET_HELLO_Address *addr; size_t slen; @@ -88,7 +89,7 @@ GNUNET_HELLO_address_copy (const struct GNUNET_HELLO_Address *address) { return GNUNET_HELLO_address_allocate (&address->peer, address->transport_name, address->address, - address->address_length); + address->address_length, 0); } |