summaryrefslogtreecommitdiffstats
path: root/src/core.c
diff options
context:
space:
mode:
authortiptorrent development team <tiptorrent@soleta.eu>2021-09-14 14:55:20 +0200
committertiptorrent development team <tiptorrent@soleta.eu>2021-09-29 15:48:36 +0200
commit353c5d3660c309cb8df9392e6475023b30f5d4d8 (patch)
treeab83cfd0f35bc4dc4446b9112a56fd9df7d995b8 /src/core.c
parent610a1e48e4616665dcb02f02cfadb0473ad31371 (diff)
remove duplicate log when resuming from pending and being redirected
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c6
1 files changed, 1 insertions, 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);