1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

(trunk libT) #3806 "logging error in net.c" -- fixed.

This commit is contained in:
Charles Kerr 2010-12-08 17:22:00 +00:00
parent 0e3cbe1e96
commit b87826333c

View file

@ -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;