Changeset 9960


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

(trunk libT) tweak the peer-io bugfix

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r9946 r9960  
    193193AC_CONFIG_SUBDIRS([third-party/libevent])
    194194libevent_source=bundled
    195 AC_CHECK_LIB([event],[evbuffer_readln],
     195AC_CHECK_LIB([event],[evutil_vsnprintf],
    196196             [libevent_found=yes],
    197197             [libevent_found=no],
  • 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.