Ignore:
Timestamp:
Nov 15, 2007, 10:03:22 PM (14 years ago)
Author:
charles
Message:

remove dead code.

File:
1 edited

Legend:

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

    r3829 r3830  
    251251
    252252void
    253 tr_peerIoSetIOMode( tr_peerIo * c, short enable, short disable )
    254 {
    255     tr_setBufferEventMode( c->handle, c->bufev, enable, disable );
     253tr_peerIoSetIOMode( tr_peerIo * io, short enable, short disable )
     254{
     255    assert( tr_amInEventThread( io->handle ) );
     256    bufferevent_enable( io->bufev, enable );
     257    bufferevent_disable( io->bufev, disable );
    256258}
    257259
Note: See TracChangeset for help on using the changeset viewer.