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.

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.