diff options
Diffstat (limited to 'src/hello/address.c')
-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 | ||