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/fdlimit.c

    r4856 r5065  
    164164    if( file->fd == -1 ) {
    165165        const int err = errno;
    166         tr_err( "Couldn't open '%s': %s", filename, strerror(err) );
     166        tr_err( "Couldn't open '%s': %s", filename, tr_strerror(err) );
    167167        return tr_ioErrorFromErrno( err );
    168168    }
     
    388388    if( isReserved || ( gFd->normal < getSocketMax( gFd ) ) )
    389389        if( ( s = socket( AF_INET, type, 0 ) ) < 0 )
    390             tr_err( "Couldn't create socket (%s)", strerror( sockerrno ) );
     390            tr_err( "Couldn't create socket (%s)", tr_strerror( sockerrno ) );
    391391
    392392    if( s > -1 )
Note: See TracChangeset for help on using the changeset viewer.