Ignore:
Timestamp:
Oct 27, 2009, 8:27:27 PM (12 years ago)
Author:
charles
Message:

(trunk libT) add a wrapper function, tr_netCloseSocket(), around EVUTIL_CLOSESOCKET() so that not all of our code has to #include evutil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r9387 r9417  
    630630    if( ( s >= 0 ) && gFd->socketCount > gFd->socketLimit )
    631631    {
    632         EVUTIL_CLOSESOCKET( s );
     632        tr_netCloseSocket( s );
    633633        s = -1;
    634634    }
     
    676676    if( fd >= 0 )
    677677    {
    678         EVUTIL_CLOSESOCKET( fd );
     678        tr_netCloseSocket( fd );
    679679        --gFd->socketCount;
    680680    }
Note: See TracChangeset for help on using the changeset viewer.