Ignore:
Timestamp:
Oct 22, 2008, 1:57:30 PM (14 years ago)
Author:
charles
Message:

remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r6906 r6944  
    120120createSocket( int type )
    121121{
    122     int fd = tr_fdSocketCreate( type );
    123 
    124     if( fd >= 0 )
    125         fd = makeSocketNonBlocking( fd );
    126 
    127 #if 0
    128     if( fd >= 0 )
    129     {
    130         const int buffsize = 1500 * 3; /* 3x MTU for most ethernet/wireless */
    131         setsockopt( fd, SOL_SOCKET, SO_SNDBUF, &buffsize, sizeof( buffsize ) );
    132     }
    133 #endif
    134 
    135     return fd;
     122    return makeSocketNonBlocking( tr_fdSocketCreate( type ) );
    136123}
    137124
Note: See TracChangeset for help on using the changeset viewer.