diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-07 11:49:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-07 11:49:37 +0000 |
commit | 1617fd1db3329d1b8c2db59f6fd8cd04f955a31f (patch) | |
tree | 8d88db606a606b6fc9135104f8f6096ea0ad856f /src/hello | |
parent | 724bfacf4c03ed0fdd290ae800eae030031db5b6 (diff) | |
download | gnunet-1617fd1db3329d1b8c2db59f6fd8cd04f955a31f.tar.gz gnunet-1617fd1db3329d1b8c2db59f6fd8cd04f955a31f.zip |
-simplify
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 2d3a59121..9ca1641a5 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) < 0) -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) |