mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
fixed sn sort return value (#936)
This commit is contained in:
parent
f59c6900a1
commit
19e1bf87c9
|
@ -166,7 +166,7 @@ static int sn_selection_criterion_sort (peer_info_t *a, peer_info_t *b) {
|
|||
if(a->selection_criterion > b->selection_criterion)
|
||||
ret = 1;
|
||||
else if(a->selection_criterion < b->selection_criterion)
|
||||
ret = -2;
|
||||
ret = -1;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user