Ignore:
Timestamp:
Oct 9, 2007, 5:51:20 AM (15 years ago)
Author:
charles
Message:

fix stupid bug from yesterday that made uploading difficult.

File:
1 edited

Legend:

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

    r3330 r3338  
    273273    tr_peermsgs_event e = blankEvent;
    274274    e.eventType = TR_PEERMSG_NEED_REQ;
    275     dbgmsg( msgs, "firing NEED_REQ" );
    276275    publish( msgs, &e );
    277276}
     
    14061405
    14071406            if( requestIsValid( msgs, r )
    1408                 && tr_bitfieldHas( msgs->info->have, r->index )
     1407                && tr_cpPieceIsComplete( msgs->torrent->completion, r->index )
    14091408                && !tr_ioRead( msgs->torrent, r->index, r->offset, r->length, buf ) )
    14101409            {
Note: See TracChangeset for help on using the changeset viewer.