From 4a6a197e9860457ee1d85a5bdec10b826f0cbe13 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 4 Feb 2020 16:53:30 +0100 Subject: [PATCH] Remove debug --- src/algo_lightning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algo_lightning.c b/src/algo_lightning.c index 9b39109..6ce3c06 100644 --- a/src/algo_lightning.c +++ b/src/algo_lightning.c @@ -539,7 +539,7 @@ int algo_lightning_on_datagram(struct evt_core_ctx* ctx, struct evt_core_fdinfo* algo_lightning_update_used(lightc, &now); algo_lightning_link_cat(lightc, target_to_use/2); - if (ctx->verbose > 1 || TRUE) { + if (ctx->verbose > 1) { printf("link ranking (%d fast links, %d total links)\nposition | port | score | class \n", target_to_use/2, target_to_use); for (int i = 0; i < lightc->total_links; i++) { printf("%8d | %4d | %9ld | %9s \n", i, lightc->stats[i].link_id+7500, lightc->stats[i].ooo, link_cat_str[lightc->status[lightc->stats[i].link_id].used]);