Ignore:
Timestamp:
Jan 18, 2010, 7:26:46 PM (12 years ago)
Author:
charles
Message:

(trunk libT) tweak the peer-io bugfix

File:
1 edited

Legend:

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

    r9959 r9960  
    531531
    532532    dbgmsg( io, "in tr_peerIo destructor" );
    533     event_disable( io, ~0 );
     533    event_disable( io, EV_READ | EV_WRITE );
    534534    tr_bandwidthDestruct( &io->bandwidth );
    535535    evbuffer_free( io->outbuf );
     
    635635
    636636    pendingEvents = io->pendingEvents;
    637     event_disable( io, ~0 );
     637    event_disable( io, EV_READ | EV_WRITE );
    638638
    639639    if( io->socket >= 0 )
Note: See TracChangeset for help on using the changeset viewer.