From 353c5d3660c309cb8df9392e6475023b30f5d4d8 Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Tue, 14 Sep 2021 14:55:20 +0200 Subject: remove duplicate log when resuming from pending and being redirected --- src/core.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core.c b/src/core.c index 50638da..c6d8963 100644 --- a/src/core.c +++ b/src/core.c @@ -351,11 +351,7 @@ static void tip_client_activate_pending(void) if (cli->state != TIP_CLIENT_PENDING) continue; - if (!tip_client_redirect(cli)) { - syslog(LOG_INFO, "no client redirections are available for client %s:%hu after resuming from pending state", - inet_ntoa(cli->addr.sin_addr), - htons(cli->addr.sin_port)); - } + tip_client_redirect(cli); ev_io_set(&cli->io, tip_client_socket(cli), EV_READ | EV_WRITE); ev_io_start(tip_main_loop, &cli->io); ev_timer_again(tip_main_loop, &cli->timer); -- cgit v1.2.3-18-g5258