From 92f98f49ff789fadc01e829263cc9d5376fb2f14 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 2 May 2010 12:01:06 +0000 Subject: reducing address size in hello to 16 bit --- src/peerinfo-tool/gnunet-peerinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/peerinfo-tool') diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index ba9832099..a3fa98fa9 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c @@ -116,7 +116,7 @@ static int count_address (void *cls, const char *tname, struct GNUNET_TIME_Absolute expiration, - const void *addr, size_t addrlen) + const void *addr, uint16_t addrlen) { struct PrintContext *pc = cls; pc->off++; @@ -138,7 +138,7 @@ static int print_address (void *cls, const char *tname, struct GNUNET_TIME_Absolute expiration, - const void *addr, size_t addrlen) + const void *addr, uint16_t addrlen) { struct PrintContext *pc = cls; GNUNET_TRANSPORT_address_lookup (sched, -- cgit v1.2.3