aboutsummaryrefslogtreecommitdiff
path: root/src/hello
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-01-13 20:02:25 +0000
committerBart Polot <bart@net.in.tum.de>2014-01-13 20:02:25 +0000
commit99f57129eb1e3654d3f5e3f9a5491a2eb1276686 (patch)
treeb1a101ec1ef7691d03336b404f2456231da52059 /src/hello
parenta37183bb1f137d8a0457fc9c2428219e337cd6a7 (diff)
downloadgnunet-99f57129eb1e3654d3f5e3f9a5491a2eb1276686.tar.gz
gnunet-99f57129eb1e3654d3f5e3f9a5491a2eb1276686.zip
- attempt 2
Diffstat (limited to 'src/hello')
-rw-r--r--src/hello/address.c5
1 files changed, 3 insertions, 2 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