aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hello/address.c5
-rw-r--r--src/include/gnunet_hello_lib.h4
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)
54struct GNUNET_HELLO_Address * 54struct GNUNET_HELLO_Address *
55GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer, 55GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer,
56 const char *transport_name, const void *address, 56 const char *transport_name, const void *address,
57 size_t address_length) 57 size_t address_length,
58 enum GNUNET_HELLO_AddressInfo local_info)
58{ 59{
59 struct GNUNET_HELLO_Address *addr; 60 struct GNUNET_HELLO_Address *addr;
60 size_t slen; 61 size_t slen;
@@ -88,7 +89,7 @@ GNUNET_HELLO_address_copy (const struct GNUNET_HELLO_Address *address)
88{ 89{
89 return GNUNET_HELLO_address_allocate (&address->peer, address->transport_name, 90 return GNUNET_HELLO_address_allocate (&address->peer, address->transport_name,
90 address->address, 91 address->address,
91 address->address_length); 92 address->address_length, 0);
92} 93}
93 94
94 95
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
126struct GNUNET_HELLO_Address * 126struct GNUNET_HELLO_Address *
127GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer, 127GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer,
128 const char *transport_name, const void *address, 128 const char *transport_name, const void *address,
129 size_t address_length); 129 size_t address_length,
130 130 enum GNUNET_HELLO_AddressInfo local_info);
131 131
132/** 132/**
133 * Copy an address struct. 133 * Copy an address struct.