diff options
author | Alexander Polcyn <apolcyn@google.com> | 2018-04-26 20:51:50 -0700 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-04-26 20:51:56 -0700 |
commit | 0d98c8d9f0bee1c4f2b9a58955b1659ecc0a2bdb (patch) | |
tree | d1fc0db5a4de9004952db0d6578731f025121d1c /third_party | |
parent | 2d894a8c3b6bd0a236f14c5630faced4caba0a55 (diff) |
Fix a bug in an address sorting comparison
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/address_sorting/address_sorting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/address_sorting/address_sorting.c b/third_party/address_sorting/address_sorting.c index d62aca3424..6aa1f994e3 100644 --- a/third_party/address_sorting/address_sorting.c +++ b/third_party/address_sorting/address_sorting.c @@ -255,7 +255,7 @@ static int compare_source_dest_labels_match( second_label_matches = 1; } if (first_label_matches != second_label_matches) { - return first_label_matches ? 1 : 1; + return first_label_matches ? -1 : 1; } return 0; } |