Changeset 12156


Ignore:
Timestamp:
Mar 13, 2011, 7:47:21 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) minor tweak: use evutil_closesocket() instead of the older EVUTIL_CLOSESOCKET() macro.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r12147 r12156  
    442442tr_netCloseSocket( int fd )
    443443{
    444     EVUTIL_CLOSESOCKET( fd );
     444    evutil_closesocket( fd );
    445445}
    446446
     
    482482        goto fail;
    483483
    484     EVUTIL_CLOSESOCKET( s );
     484    evutil_closesocket( s );
    485485
    486486    return rc;
     
    488488 fail:
    489489    save = errno;
    490     EVUTIL_CLOSESOCKET( s );
     490    evutil_closesocket( s );
    491491    errno = save;
    492492    return -1;
  • trunk/libtransmission/tr-lpd.c

    r12147 r12156  
    372372
    373373    /* just shut down, we won't remember any former nodes */
    374     EVUTIL_CLOSESOCKET( lpd_socket );
    375     EVUTIL_CLOSESOCKET( lpd_socket2 );
     374    evutil_closesocket( lpd_socket );
     375    evutil_closesocket( lpd_socket2 );
    376376    tr_ndbg( "LPD", "Done uninitialising Local Peer Discovery" );
    377377
Note: See TracChangeset for help on using the changeset viewer.