From 99f57129eb1e3654d3f5e3f9a5491a2eb1276686 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 13 Jan 2014 20:02:25 +0000 Subject: [PATCH] - attempt 2 --- src/hello/address.c | 5 +++-- src/include/gnunet_hello_lib.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/hello/address.c b/src/hello/address.c index ae839155c..736e85eed 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); } diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index cdf286f3b..595f1709e 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h @@ -126,8 +126,8 @@ struct GNUNET_HELLO_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); /** * Copy an address struct. -- 2.25.1