diff options
-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 9ca1641a5..8964d2913 100644 --- a/src/hello/address.c +++ b/src/hello/address.c | |||
@@ -143,7 +143,7 @@ GNUNET_HELLO_address_cmp (const struct GNUNET_HELLO_Address *a1, | |||
143 | if (0 != ret) | 143 | if (0 != ret) |
144 | return ret; | 144 | return ret; |
145 | if (a1->local_info != a2->local_info) | 145 | if (a1->local_info != a2->local_info) |
146 | return (((int) a1->local_info) < ((int) a2->local_info)) -1 : 1; | 146 | return (((int) a1->local_info) < ((int) a2->local_info)) ? -1 : 1; |
147 | if (a1->address_length < a2->address_length) | 147 | if (a1->address_length < a2->address_length) |
148 | return -1; | 148 | return -1; |
149 | if (a1->address_length > a2->address_length) | 149 | if (a1->address_length > a2->address_length) |