Ignore:
Timestamp:
Feb 19, 2008, 4:16:04 AM (14 years ago)
Author:
charles
Message:

cleanup #includes for errno & strerror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r4600 r5065  
    9494        {
    9595            tr_err( "Couldn't set socket to non-blocking mode (%s)",
    96                     strerror( sockerrno ) );
     96                    tr_strerror( sockerrno ) );
    9797            tr_netClose( fd );
    9898            fd = -1;
     
    135135        tr_err( "Couldn't connect socket %d to %s, port %d (errno %d - %s)",
    136136                s, inet_ntoa(*addr), port,
    137                 sockerrno, strerror(sockerrno) );
     137                sockerrno, tr_strerror(sockerrno) );
    138138        tr_netClose( s );
    139139        s = -1;
     
    177177               sizeof( struct sockaddr_in ) ) )
    178178    {
    179         tr_err( "Couldn't bind port %d: %s", port, strerror(sockerrno) );
     179        tr_err( "Couldn't bind port %d: %s", port, tr_strerror(sockerrno) );
    180180        tr_netClose( s );
    181181        return -1;
Note: See TracChangeset for help on using the changeset viewer.