Changeset 4171


Ignore:
Timestamp:
Dec 15, 2007, 3:17:50 AM (14 years ago)
Author:
charles
Message:

more helpful error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r4170 r4171  
    132132        && ( sockerrno != EINPROGRESS ) )
    133133    {
    134         tr_err( "Couldn't connect socket (%s)", strerror( sockerrno ) );
     134        tr_err( "Couldn't connect socket %d to %s, port %d (errno %d - %s)",
     135                s, inet_ntoa(*addr), port,
     136                sockerrno, strerror(sockerrno) );
    135137        tr_netClose( s );
    136         return -1;
     138        s = -1;
    137139    }
    138140
Note: See TracChangeset for help on using the changeset viewer.