mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
(trunk libT) #3806 "logging error in net.c" -- fixed.
This commit is contained in:
parent
0e3cbe1e96
commit
b87826333c
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ tr_netOpenPeerSocket( tr_session * session,
|
|||
if( ( tmperrno != ENETUNREACH && tmperrno != EHOSTUNREACH )
|
||||
|| addr->type == TR_AF_INET )
|
||||
tr_err( _( "Couldn't connect socket %d to %s, port %d (errno %d - %s)" ),
|
||||
s, tr_ntop_non_ts( addr ), (int)port, tmperrno,
|
||||
s, tr_ntop_non_ts( addr ), (int)ntohs( port ), tmperrno,
|
||||
tr_strerror( tmperrno ) );
|
||||
tr_netClose( session, s );
|
||||
s = -tmperrno;
|
||||
|
|
Loading…
Reference in a new issue