Changeset 10603


Ignore:
Timestamp:
May 1, 2010, 2:53:37 PM (8 years ago)
Author:
charles
Message:

(1.9x libT) a more cautious form of the #3164 backport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/libtransmission/peer-io.c

    r10583 r10603  
    447447    assert( io->session != NULL );
    448448    assert( io->session->events != NULL );
    449     assert( io->socket >= 0 );
    450449    assert( event_initialized( &io->event_read ) );
    451450    assert( event_initialized( &io->event_write ) );
     451
     452    if( io->socket < 0 )
     453        return;
    452454
    453455    if( ( event & EV_READ ) && ! ( io->pendingEvents & EV_READ ) )
Note: See TracChangeset for help on using the changeset viewer.