diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-14 14:55:20 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-29 15:48:36 +0200 |
commit | 353c5d3660c309cb8df9392e6475023b30f5d4d8 (patch) | |
tree | ab83cfd0f35bc4dc4446b9112a56fd9df7d995b8 | |
parent | 610a1e48e4616665dcb02f02cfadb0473ad31371 (diff) |
remove duplicate log when resuming from pending and being redirected
-rw-r--r-- | src/core.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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); |