mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
chore: don't warn on ECONNREFUSED to peer sockets. (#4678)
Fixes #1031.
This commit is contained in:
parent
b641906b13
commit
568b23374c
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ tr_peer_socket tr_netOpenPeerSocket(tr_session* session, tr_address const& addr,
|
|||
#endif
|
||||
sockerrno != EINPROGRESS)
|
||||
{
|
||||
if (auto const tmperrno = sockerrno; (tmperrno != ENETUNREACH && tmperrno != EHOSTUNREACH) || addr.is_ipv4())
|
||||
if (auto const tmperrno = sockerrno;
|
||||
(tmperrno != ECONNREFUSED && tmperrno != ENETUNREACH && tmperrno != EHOSTUNREACH) || addr.is_ipv4())
|
||||
{
|
||||
tr_logAddWarn(fmt::format(
|
||||
_("Couldn't connect socket {socket} to {address}:{port}: {error} ({error_code})"),
|
||||
|
|
Loading…
Reference in a new issue