Ignore:
Timestamp:
Feb 18, 2011, 12:36:24 AM (11 years ago)
Author:
jch
Message:

Revert "Maintain information about enabled/disabled I/O."

This reverts commit 604f8fd10db747e57d8710cc53326c0e114ad32c.

File:
1 edited

Legend:

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

    r11934 r11935  
    582582    }
    583583
    584     io->write_enabled = 1;
    585     io->read_enabled = 1;
    586 
    587584    return io;
    588585}
     
    711708    else
    712709        event_disable( io, event );
    713 
    714     if( dir == TR_UP )
    715         io->write_enabled = isEnabled;
    716     else if( dir == TR_DOWN ) {
    717         io->read_enabled = isEnabled;
    718         if( io->utp_socket && isEnabled )
    719             UTP_RBDrained(io->utp_socket);
    720     }
    721710}
    722711
Note: See TracChangeset for help on using the changeset viewer.