From 20820fc361c979213582dcdc06dcec09c65e402c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 4 Jul 2012 09:36:19 +0000 Subject: - bug of the week --- src/hello/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hello/address.c') diff --git a/src/hello/address.c b/src/hello/address.c index 893a6dc91..67ad8a060 100644 --- a/src/hello/address.c +++ b/src/hello/address.c @@ -113,7 +113,7 @@ GNUNET_HELLO_address_cmp (const struct GNUNET_HELLO_Address *a1, return -1; if (a1->address_length > a2->address_length) return 1; - return memcmp (a1->address, a1->address, a1->address_length); + return memcmp (a1->address, a2->address, a1->address_length); } -- cgit v1.2.3