aboutsummaryrefslogtreecommitdiff
path: root/src/topology/gnunet-daemon-topology.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-02 12:01:06 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-02 12:01:06 +0000
commit92f98f49ff789fadc01e829263cc9d5376fb2f14 (patch)
tree372a0f53a0a041aaed8e039613824553267e6ffb /src/topology/gnunet-daemon-topology.c
parentf4b1f639e8799d29e823a7cd563a97d314d4f471 (diff)
downloadgnunet-92f98f49ff789fadc01e829263cc9d5376fb2f14.tar.gz
gnunet-92f98f49ff789fadc01e829263cc9d5376fb2f14.zip
reducing address size in hello to 16 bit
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r--src/topology/gnunet-daemon-topology.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 7ebd43ab9..e827fad2c 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -841,7 +841,8 @@ static int
841address_iterator (void *cls, 841address_iterator (void *cls,
842 const char *tname, 842 const char *tname,
843 struct GNUNET_TIME_Absolute expiration, 843 struct GNUNET_TIME_Absolute expiration,
844 const void *addr, size_t addrlen) 844 const void *addr,
845 uint16_t addrlen)
845{ 846{
846 int *flag = cls; 847 int *flag = cls;
847 *flag = GNUNET_YES; 848 *flag = GNUNET_YES;