Ignore:
Timestamp:
Feb 18, 2011, 1:18:51 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) add stubs for UTP_Drained() and UTP_Write() to remove a few #ifdefs from peer-io.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r11960 r11962  
    11451145    if(( howmuch = tr_bandwidthClamp( &io->bandwidth, TR_DOWN, howmuch )))
    11461146    {
    1147 #ifdef WITH_UTP
    11481147        if( io->utp_socket != NULL ) /* utp peer connection */
    11491148        {
     
    11551154        }
    11561155        else /* tcp peer connection */
    1157 #endif
    11581156        {
    11591157            int e;
     
    11961194    if(( howmuch = tr_bandwidthClamp( &io->bandwidth, TR_UP, howmuch )))
    11971195    {
    1198 #ifdef WITH_UTP
    11991196        if( io->utp_socket != NULL ) /* utp peer connection */
    12001197        {
     
    12041201        }
    12051202        else
    1206 #endif
    12071203        {
    12081204            int e;
Note: See TracChangeset for help on using the changeset viewer.