From: Matthias Wachs Date: Wed, 4 Jul 2012 09:36:19 +0000 (+0000) Subject: - bug of the week X-Git-Tag: initial-import-from-subversion-38251~12662 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20820fc361c979213582dcdc06dcec09c65e402c;p=oweals%2Fgnunet.git - bug of the week --- 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); }