Browse Source

typo

'0' is legit load or ping
pull/682/head
Logan oos Even 4 years ago
committed by GitHub
parent
commit
12e81c6be3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/sn_selection.c

2
src/sn_selection.c

@ -163,7 +163,7 @@ extern char * sn_selection_criterion_str (selection_criterion_str_t out, peer_in
}
memset(out, 0, SN_SELECTION_CRITERION_BUF_SIZE);
if(peer->selection_criterion > 0) {
if(peer->selection_criterion >= 0) {
#ifndef SN_SELECTION_RTT
snprintf(out, SN_SELECTION_CRITERION_BUF_SIZE, "load = %8d", peer->selection_criterion);
#else

Loading…
Cancel
Save