diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-04 09:36:19 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-04 09:36:19 +0000 |
commit | 20820fc361c979213582dcdc06dcec09c65e402c (patch) | |
tree | 28d6ba6a2fe14ceffe9a81b79603fe3bbee3aea2 /src/hello | |
parent | 160514d2a0ff8b4d1d3dec96405b06d373ff0ee0 (diff) | |
download | gnunet-20820fc361c979213582dcdc06dcec09c65e402c.tar.gz gnunet-20820fc361c979213582dcdc06dcec09c65e402c.zip |
- bug of the week
Diffstat (limited to 'src/hello')
-rw-r--r-- | src/hello/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
113 | return -1; | 113 | return -1; |
114 | if (a1->address_length > a2->address_length) | 114 | if (a1->address_length > a2->address_length) |
115 | return 1; | 115 | return 1; |
116 | return memcmp (a1->address, a1->address, a1->address_length); | 116 | return memcmp (a1->address, a2->address, a1->address_length); |
117 | } | 117 | } |
118 | 118 | ||
119 | 119 | ||